View Single Post
  #1 (permalink)  
Old July 1st, 2003, 02:09 PM
WindowsCoder WindowsCoder is offline
Registered User
 
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beginning C by Ivor Horton

I purchased this book a while ago and after coding for a while I realized that the main function "void main()" is looked down upon by many coders. This book teaches based on that though. Why didn't you teach
Code:
int main()
{
   return 0;
}
Isn't that the correct way to actually do that? Just wondering
Reply With Quote