View Single Post
Old May 29th, 2006, 7:07 PM   #4
Prm753
Professional Programmer
 
Prm753's Avatar
 
Join Date: Oct 2005
Location: United States
Posts: 447
Rep Power: 3 Prm753 is on a distinguished road
Send a message via AIM to Prm753 Send a message via MSN to Prm753
Besides all of those things that DaWei said, change
return 1;
to
return 0;
1 usually means that an error has occurred, 0 does not. 0 is generally what you end a program with.
__________________
The world's first athletic computer geek!
The home of PrProgramsStudios
How not to post a question: <-- Please don't reply
Prm753 is offline   Reply With Quote