Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Re: The worst 'hello world' example ever written...
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Attila Feher, post: 1460742"] The_Sage wrote: [SNIP] There is only one idiot posting into this thread. The ISO standard says it is forbidden to use void as the return type of main. For backwards compatibility of their non-standard times and compilers. OK. If I make the C++ community liaison of Microsoft (who happens to be the convenor of the C++ standardization committee) to tell you that void main is illegal will you shut up? This is what Microsoft says as allowed main function signatures. Note that there is *no* main returning void: [URL]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html[/URL] /vclrfstandardcomplianceissuesinvisualc.asp Temporary short URL for the above: [URL]http://tinyurl.com/o787[/URL] About Microsoft compliance statement: "Microsoft extensions to the ANSI standard are noted in the text and syntax of this book as well as in the online reference. Because the extensions are not a part of the ANSI standard, their use may restrict portability of programs between systems. By default, the Microsoft extensions are enabled. To disable the extensions, specify the /Za compiler option. With /Za, all non-ANSI code generates errors or warnings." Or should I get Bjarne Stroustrup (the creator of the C++ language) to tell you? Or this is not good for you since you have already ignored Andrew Koening, who is the closest thing to Stroustrup? Should I ask Francis Glassborow (and Oxford scholar and member of the C and C++ committees) to tell you that you are wrong? [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Re: The worst 'hello world' example ever written...
Top