View Single Post
Old 16-06-2006, 08:22 PM   #25
plix
Game freak

 
Join Date: Oct 2005
Location: ,
Posts: 113
Default

<div class='quotetop'>QUOTE(Abi79 @ Jun 16 2006, 01:47 AM) [snapback]237089[/snapback]</div>
Quote:
I also got the warning that int main(void) should return a value. Couldn't you have used void main instead of int main(void)?[/b]
It's bad form. The return value is also known as the exit status and important for knowing how the program exited. This doesn't generally make a big difference on Windows, but in a Unix-like environment it's important for piping (command chaining), diagnostics, etc.
plix is offline                         Send a private message to plix
Reply With Quote