Jump to content
  • Advertisement
Sign in to follow this  
kickkick

latest standard of C and C++

This topic is 4488 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What is the latest standard on C and C++? Where can I get a copy of the official standards? [ok, www.iso.org, anywhere else?] What compilers support these standards? What are the earlyer standards and what compilers support them? What books describe/teach these standards precisely? Please recommend only books you compared to other books, because the people that read only one book always say that it's good. Thx!

Share this post


Link to post
Share on other sites
Advertisement
You will find the standard here, as a PDF i believe.

If you get the latest compiler out of whichever series you won't have to worry about any of that. The best way of learning IMO is o just get a compiler and start writing, looking up what you need as you go.

Dave

Share this post


Link to post
Share on other sites
The latest version of the C++ standard is ISO/IEC 14882:2003. It can be purchased from ISO or your national standards body (such as ANSI for the US). It can also be purchased in hard cover from Wiley.

The latest version of the C standard is ISO/IEC 9899:1999. Again it can be purchase from ISO or your national standard body. It too can be purchased in hard cover from Wiley.

Share this post


Link to post
Share on other sites
Depends on what you mean by uses. MSVC 2005 probably implements about 99.9% of ISO/IEC 14882:2003, but still isn't fully compliant. For example: the infamous export keyword is not supported by MSVC 2005. MSVC 2005 also doesn't even pay lip service to ISE/IEC 9899:1999. Almost every new feature introduced in that version of the standard is ignored by MSVC 2005, though it does implement the previous version of the standard pretty well.

Share this post


Link to post
Share on other sites
Not that I know of.

But here are some missing features:
http://www.codeproject.com/cpp/stdexceptionspec.asp
http://www.codeproject.com/cpp/stdexport.asp
http://www.codeproject.com/cpp/TwoPhaseLookup.asp

Share this post


Link to post
Share on other sites
If you buy the standard online as a pdf be careful which version you get. It's available as an electronic download for about $19.99 if you get the right one but there are places selling it for much much more so look around. I think you can get it for a sensible price from ANSI, I forget where I downloaded my copy from now but I know I saw some outrageous prices while I was looking for it.

Share this post


Link to post
Share on other sites
Quote:
Original post by SiCrane
Depends on what you mean by uses. MSVC 2005 probably implements about 99.9% of ISO/IEC 14882:2003, but still isn't fully compliant. For example: the infamous export keyword is not supported by MSVC 2005.

Lets be fair though, unless things have changed recently no major compiler actually implements the export keyword, let alone correctly.

Share this post


Link to post
Share on other sites
Quote:
Original post by OrangyTang
Lets be fair though, unless things have changed recently no major compiler actually implements the export keyword, let alone correctly.


Comeau has, for quite a while.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!