![]() |
#27 | ||
![]() ![]() ![]() ![]() |
![]() Well, unfortunately the answer to many language semantic questions is "it depends on the compiler implementation" but in general a mature C++ compiler will yell at you for not returning a value when you said that the function should.
About main returning an int, this is only useful if the OS needs to examine the return value (either requested by a script or other reason), but my point was only that it's the standard and it's probably a good idea to do it this way. No reason not to. |
||
![]() ![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Program for download | sh-tfish | Old Suggestions | 19 | 04-05-2009 09:19 AM |
Dos Program | pup | Troubleshooting | 4 | 30-06-2006 12:36 PM |
An Old Dos Program | JimmyJ | Trash Can | 12 | 21-06-2006 10:49 AM |
Document Program Help | nimicitor | Tech Corner | 3 | 20-10-2005 09:51 PM |
Looking For A Good P2p Program | MrBackAlleySka | Tech Corner | 17 | 07-09-2005 07:49 PM |
|
|
||
  |