View Single Post
  #1 (permalink)  
Old January 27th, 2006, 05:13 PM
fords4me78 fords4me78 is offline
Registered User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default C++ and main for a beginner

Do you have to end every C++ program with "void main()" or can you end it with anything as long as it calls the other functions in the code? Only reason I ask is I left it out and the compiler would not compile without it.
:(
Craig
Reply With Quote