View Single Post
  #2 (permalink)  
Old 06-22-2007, 05:33 AM
Lee's Avatar
Lee Lee is offline
PT Staff*
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: Blackpool, UK
Posts: 616
iTrader: (0)
Lee is just really niceLee is just really niceLee is just really niceLee is just really nice
Int means integer, main(), is returning an Integer, hence the int. When It says return, that means that when you say "return 0" in your code. So basically, until it gets to the return statement, it knows that it's job isnt done yet, when it sees that, the "return 0" it knows it has finished.

hope that helps

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote