In C there's C89, C99, and C11; what about C++? Is there any upgrade since it came out?
ANSI C and ISO C This version of the language is often referred to as ANSI C, Standard C, or sometimes C89. In 1990, the ANSI C standard (with formatting changes) was adopted by the International Organization for Standardization (ISO) as ISO/IEC 9899:1990, which is sometimes called C90.
C17 is the informal name for ISO/IEC 9899:2018, the most recent standard for the C programming language, prepared in 2017 and published in June 2018. It replaced C11 (standard ISO/IEC 9899:2011).
Yes, it's a bit odd that you can get a loud consensus that K&R is a great C book, and also a loud consensus that C99 is the correct/current/best version of C.
C++98 (ISO/IEC 14882:1998) is the first edition.
C++03 (ISO/IEC 14882:2003) is the second edition and often considered a bugfix, but it has many changes.
C++11 is the third edition.
C++14 is the fourth edition.
C++17 is the latest edition (as of 2017).
You can download PDFs of the standards and drafts.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With