Quote:
Originally posted by Latch
Are you using Visual Studio? I had this problem before as well. Unfortunately, I can't remember why it was doing that. Try returning a value at the end of the function. That may fix it.
|
That was the first thing that came to my mind. Is main() a void function? Or an int? Not sure how you're compiler works, but having a return statement ('return;' for a void function, 'return 0;' if it's an int) before the function ends might help.