Compile Error

Write here if you have problems with your C++ source code

Moderator: Board moderators

Post Reply
taskin
New poster
Posts: 22
Joined: Sun Jan 01, 2006 1:43 pm
Location: Bangladesh

Compile Error

Post by taskin »

i receive the message in my email after submitting
04483629_24.c:9: syntax error at end of input

what does it mean? what does .c mean? i submitted it as C++. when i compile it with gcc, i receive a warning that no new line after end of file. then i put a new line at the end of my source code, submit it again and got AC. oh, i made another change, convert scanf("%s%s",a,b) to
scanf("%s %s",a,b), but this does not pay any impact after compilation. this thing seems very strange to me. can anyone explain?

my code is too big, that's why im not posting it here.
taskin
New poster
Posts: 22
Joined: Sun Jan 01, 2006 1:43 pm
Location: Bangladesh

Post by taskin »

i got it. there is nothing wrong in my program but the problem was that due to network problem, only part of my code was submitted in first time. i submit it again and got AC.
Post Reply

Return to “C++”