Timeline for Pset 1 Bug with Do While Loop
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 22, 2015 at 5:58 | comment | added | Sam Gerber | Because the compiler thought you were making a "function signature declaration" (prototype as it's called in lecture), as Cliff mentioned. Prototypes do need a semicolon. Nice ASCII art! | |
Sep 22, 2015 at 3:23 | comment | added | K. Roe | Interestingly enough, the compiler told me to put the semicolon after (void) through an error message, but once I declared int n within the brackets, it stopped doing so ¯_(ツ)_/¯ | |
Sep 22, 2015 at 3:22 | vote | accept | K. Roe | ||
Sep 22, 2015 at 2:37 | history | answered | Cliff B | CC BY-SA 3.0 |