This question already has answers here:
Where do I find the current C or C++ standard documents?
(11 answers)
Closed 9 years ago.
I see often people here quoting sentences from the C++/C++11 standard drafts. I tried finding these drafts in the website open-std.org but I'm failing at understanding how the website is structured and where should I look for these documents.
Can anyone help me once and for all to find these documents so I can study them by myself (thus reducing the number of stupid questions here) ?
The latest draft is available in the left sidebar of the Standard C++ website. The LaTeX source is available on GitHub.
If you have the means and require it, you can purchase a copy of the latest published standard (ISO/IEC 14882:2011).
Related
This question already has answers here:
How to determine the version of the C++ standard used by the compiler?
(9 answers)
What do the values of the C++ "feature test macros" mean?
(1 answer)
Closed 3 months ago.
The community reviewed whether to reopen this question 3 months ago and left it closed:
Original close reason(s) were not resolved
I'm coming from a Java background and we learned to setup tests for the used java version when working with others, so everyne is using the same and to prevent conflicts.
Is there a way to test for the used standard? Likewise for language features you agreed on not using? Do you do this with a unit test?
This question already has an answer here:
Closed 11 years ago.
Possible Duplicate:
The Definitive C++ Book Guide and List
I am faced with the problem of portable code development (C or C++).
Could somebody advise me which book could help in this question?
Edited:
Actually I don't know the types of platforms. I was asked to write a simple program. This program must be portable. I am not expert in this question. I don't understand what it means and what should I do.
Edited
Here is an article devoted to this problem:
http://www.feyrer.de/PGC/Fighting_the_Lemmings.pdf
As I understood, the problem is real.
I'd like to research this question before writing my program.
How 'portable' is portable? DO you mean just Windows/Linux or do you mean it must also port to an 8051 uProc?
The C standard library and C++ are pretty much well supported everywhere. Some C++11 features aren't implemented on all compilers - but the common ones are.
The tricky part comes when you want to talk to anything in the OS or hardware - at which point it might be worth just using something like Qt or WxWidgets - or sticking to Boost.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Where do I find the current C or C++ standard documents?
Great. Like many of you I want to be well prepared when the new C++ standard hits the street (industry) and start studying it before it's officially published.
Please point me where it can be downloaded.
You could either purchase the official final PDF here, or download the most recent draft free of charge here.
The latest draft that is still publicly downloadable at no cost is the Feb 2011 draft:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf
This question already has answers here:
Closed 11 years ago.
Possible Duplicates:
Modules in C++0x
why a compiler can't find a template definition in .cpp
I'm wondering if it is planned to add a Module support in C++ instead of current header system ?
I have discovered this paper : http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2316.pdf
Any news on that ?
Modules aren't in the new C++0X/C++11.
See: C++ Modules - why were they removed from C++0x? Will they be back later on?
This question already has answers here:
Closed 13 years ago.
Possible Duplicate:
What tools exist for comparing C++ code to coding guidelines?
Can any one suggest any good coding guidelines tool for C++ which must be configurable according to specific requirements?
I've always found the Google C++ Style Guide to be a good one.