3 replies
by cow_tipper8282 Accepted solution
by tobif Accepted solution
Maybe this is just your compiler or debugger telling you that everything is ok?
Or maybe this particular environment demands that you just don't finish your code, but rather call exit_success?
I've never programmed in c, so I may be completely wrong, this is mere "food for thought".
by tony hopkinson Accepted solution
passed back from main
e.g.
int main()
{
return 0;
}
is success, non zero values are an error code.
Seeing as you havenlt defined main as having a result, I can only assume your environment is coughing up some spurious value, because it expects main to have a return type.
This discussion is closed to new replies.
Trending Software posts
Sort by Trending