Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How many versions of the C++ Standards are there?

Tags:

In C there's C89, C99, and C11; what about C++? Is there any upgrade since it came out?

like image 782
tem Avatar asked Oct 15 '10 07:10

tem


People also ask

What are the versions of C?

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.

What is the standard version of C?

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).

What version of C is best?

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.


1 Answers

  • 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.

like image 182
Prasoon Saurav Avatar answered Oct 18 '22 07:10

Prasoon Saurav