![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on little help please within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; ok, terribly sorry for creating a new thread about this but when i try to compile my code i get ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
ok, terribly sorry for creating a new thread about this but when i try to compile my code i get the error "main.c:100: error: syntax error at end of input" and guess what line 100 is? its the very last line of the code, having a "}" i thought thats what you were supposed to have at the end. any suggestions? sorry but iv been trying different combinations for forever
|
|
|
|
|
|
#3 |
![]() ![]() ...in a dream...
|
^^ What he said, go into Dev-C++ / Ultra-Edit and go through your code and get your cursor on any (, {, [ and scroll through the rest and see if the matching one highlights also, I usualy get another error called main is a non-void function also. I usually forget about my infinite loop since id be writing in it for a while, close the last statement, return a value for main and finsih it.
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
![]() |
| Thread Tools | |
|
|