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