Go Back   Forums > Community Chatterbox > Tech Corner > Programming
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-03-2005, 03:37 PM   #27
Pangloth
Newbie

 
Join Date: Mar 2005
Location: ,
Posts: 10
Send a message via MSN to Pangloth
Default

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.
Pangloth is offline                         Send a private message to Pangloth
Reply With Quote
 


Similar Threads
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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 06:43 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.