gcc error

sudu's Avatar, Join Date: Sep 2006
Newbie Member
I'v got a error in gcc compiling a C code. it says

expexted declaration or statement at the end of input

I cant figure what this means. and one other thing this always indecate the last line of that file.

can someone help me out in this........
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
You have posted your query in the Article / Source code section and I have moved it to Queries and Discussion section.

Also can you share the code which gives the above error.
0
coderzone's Avatar, Join Date: Jul 2004
Team Leader
Can you share the code snippets which is giving you the error so that we can look into the matter. I think its the problem with the syntax of the code.
0
coderzone's Avatar, Join Date: Jul 2004
Team Leader
Ohh Just missed the reply by a bit I guess.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Yes. probably in seconds.