View Single Post
Old 04-10-2008, 03:23 AM   #3
Deric
Human being with feelings
 
Join Date: Mar 2007
Posts: 794
Default

404NotFound,

Thanks for the quick response

Many thanks for answering this - I'm getting my head around the how/what/why of C++ (since the end of last week) and this is very useful.

Edit : I'd like to know just this now:

How can another program query what the output (of the initial main() ) is?

Edit: Following questions answered after more reading (apologies if anyone's started typing a response!)

Does that mean that return 0; gives main() a value of zero?
Edit: Yes - if the Return is within the main() routine.

If this is the case, does void exit (int n); supply main() with n?
Edit: Yes.

Answers to any of the above much appreciated!

Cheers
__________________
REAPER? Oh yes...

Last edited by Deric; 04-10-2008 at 05:13 AM. Reason: Answered 2of3 questions.
Deric is offline   Reply With Quote