Timeline for Getting an error error: expected identifier or '(' {
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 9, 2016 at 6:35 | vote | accept | Nathaniel Islas | ||
Jun 8, 2016 at 0:10 | comment | added | Nathaniel Islas | Thank you! It took me a while but I finally got it. | |
Jun 8, 2016 at 0:09 | vote | accept | Nathaniel Islas | ||
Jun 9, 2016 at 6:34 | |||||
Jun 7, 2016 at 22:57 | comment | added | Cliff B |
You're still missing the opening curly brace between int main(void) and int h; . The originally posted code would have also worked if you simply moved the opening curly brace after int h; to before it. In any case, you need to make sure they are in the correct location and correctly paired.
|
|
Jun 7, 2016 at 22:52 | comment | added | Nathaniel Islas | When I copied it I forgot to include the '}'. I also deleted the semicolon after int main(), and another error occured | |
Jun 7, 2016 at 21:55 | history | answered | Cliff B | CC BY-SA 3.0 |