473,387 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Summary of C++ (ANSI/ISO) standards

I was hoping someone would provide me with a list of C++ standards.
As an example I THINK the following is correct for C ...

K&R1 The first 'de facto' standard
C89 ANSI X3.159-1989
Based on K&R1, then K&R2 was based on C89
C90 ISO/IEC 9899:1990
The ISO adoption of C89
C95 C90 + TC1 + TC2 + AMD1
C99 ISO/IEC 9899:1999
The current standard
TC1 is available

So, would anyone be able to provide a similar list for C++?
Jul 22 '05 #1
8 1911
in_qanda wrote:
I was hoping someone would provide me with a list of C++ standards.
As an example I THINK the following is correct for C ...

K&R1 The first 'de facto' standard
C89 ANSI X3.159-1989
Based on K&R1, then K&R2 was based on C89
C90 ISO/IEC 9899:1990
The ISO adoption of C89
C95 C90 + TC1 + TC2 + AMD1
C99 ISO/IEC 9899:1999
The current standard
TC1 is available

So, would anyone be able to provide a similar list for C++?

TC++PL 1 and 2 / ARM: Books of reference, pre-standard era.

C++98: 14882:1998

C++2003: 14882:2003, Technical Corrigendum 1.

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #2
Check "History of C++" under
http://en.wikipedia.org/wiki/C_plus_...mming_language
Jul 22 '05 #3
> TC++PL 1 and 2 / ARM: Books of reference, pre-standard era.

Thanks for the quick reply, would you give me any more details on
TC++PL 1 and 2 / ARM, I don't know what they are.

Thanks.
Jul 22 '05 #4
in_qanda wrote:
TC++PL 1 and 2 / ARM: Books of reference, pre-standard era.


Thanks for the quick reply, would you give me any more details on
TC++PL 1 and 2 / ARM, I don't know what they are.

"The C++ Programming Language" 3rd Edition or Special Edition by Bjarne
Stroustrup (the creator of C++), is the current edition.

You can consider it as the equivalent of K&R 2 for C90, however it
teaches also good programming practices in addition to C++.

The previous editions were the equivalents of K&R 1.

The "Annotated Reference Manual" by Ellis and Stroustrup, was something
like a standard in the pre-standard area.

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #5
> "The C++ Programming Language" 3rd Edition or Special Edition by Bjarne
Stroustrup (the creator of C++), is the current edition.

Thanks again. I'm sorry to be a pain - I'm very fussy with details.
I'm returning to C++ shortly after a long break, I only scratched the
surface when I was using it a few years ago, so I'd like to check two
more things with you please ...

First, you said in your previous post that the latest standard is
C++2003: 14882:2003, Technical Corrigendum 1.

Do you mean C++2003 is C++98 PLUS TC1 being applied to C++98 to create
C++2003, or do you mean C++2003 is a newer version that now has a TC
for it. If I were to buy the C++2003 standard would I also have to
find TC1 to have the absolute latest?

And secondly, I have C++PL3 (special edition-hard back) which I bought
about four years but never got back into C++ back then for several
reasons. The one I have is the 3rd printing, May 2000. There seems
to be an awful lot of errata on Bjarne's website, should I suffer the
loss and buy a newer version?

Sorry if this sounds stupid but I get very concerened with details.
Jul 22 '05 #6
in_qanda wrote:
Thanks again. I'm sorry to be a pain - I'm very fussy with details.
I'm returning to C++ shortly after a long break, I only scratched the
surface when I was using it a few years ago, so I'd like to check two
more things with you please ...

If you have previous programming experience with any language, a very
good approach is the book "Accelerated C++" by Andrew Koenig, Barbara Moo.
TC++PL 3 is for intermediate C++ programmers and is *not* suitable for
beginners.
First, you said in your previous post that the latest standard is
C++2003: 14882:2003, Technical Corrigendum 1.

Do you mean C++2003 is C++98 PLUS TC1 being applied to C++98 to create
C++2003, or do you mean C++2003 is a newer version that now has a TC
for it. If I were to buy the C++2003 standard would I also have to
find TC1 to have the absolute latest?
Yes it is C++98 with TC1 incorporated into it. There has not been a
separate TC1, and I do not know how such a thing could exist anyway.
TC1 is only fixes in the standard without any major new feature. A list
with the changes can be found here:
http://www.acceleratedcpp.com/author.../revisions.pdf

And secondly, I have C++PL3 (special edition-hard back) which I bought
about four years but never got back into C++ back then for several
reasons. The one I have is the 3rd printing, May 2000. There seems
to be an awful lot of errata on Bjarne's website, should I suffer the
loss and buy a newer version?

No, most errata are insignificant, but are made just to be legally
accurate. :-)
In any case when you begin reading the book cover to cover (it can't be
done otherwise anyway), you can simply correct with the errata, chapter
to chapter. Also keep in mind that TC++PL takes *years* to finish, if
you really want to learn.
Sorry if this sounds stupid but I get very concerened with details.

We all ask questions and correct one another on a daily basis here.

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #7
in_qanda wrote:
I was hoping someone would provide me with a list of C++ standards.
As an example I THINK the following is correct for C ...

K&R1 The first 'de facto' standard
Actually, the first was the C Reference Manual. A document
that existed prior to the publication of K&R and appears as the
last chapter of K&R1.
C89 ANSI X3.159-1989
Based on K&R1, then K&R2 was based on C89
I dispute both haves of the final statement. By the time the
C standardization process had come around, K&R was far obsolete.
Many changes had already occurred. Many of us had to deal with
various language varients for major compiler updates: phototype
setter version, Version 7.

Actually much of the standards work dealt not with the core language
but the library, which wasn't even really addressed in K&R at all.

When the authors went to revise K&R2, they attempted to bring it
in line with what was emerging as the standard (but the standard
wasn't ready so there are differences).

So, would anyone be able to provide a similar list for C++?


The Annotated Reference Manual was sort of the official pre-standard document.
CD2 was sort of the "prestandard" heads up that most people got (because it
was very close to the standard and freely obtainable over the net).

The 1999 version of the ISO standard.
The 2003 "TC1" additions.
Jul 22 '05 #8
Ron Natalie wrote:
The 1999 version of the ISO standard.


1998.

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: kieran | last post by:
I was just wondering what the difference - if any - between ansi c++ and iso c++ was. Help much appreciated, Kieran
100
by: Roose | last post by:
Just to make a tangential point here, in case anyone new to C doesn't understand what all these flame wars are about. Shorthand title: "My boss would fire me if I wrote 100% ANSI C code" We...
25
by: Amarendra GODBOLE | last post by:
Hi, I am working on a legacy user space app, which has been developed entirely in C, some 15 years ago. Needless to say, it does not even partially conform to any standard. My team is in the...
4
by: Luke Wu | last post by:
I am just wondering what the following terms usually mean: 1) "Standard C" 2) "K&R C" 3) "ANSI C" I am pretty sure "ANSI C" usually refers to the C89 standard, but what
5
by: alsor.zhou | last post by:
hi all, I'm searching the `ANSI C89 specification' and the related. Since I tried with `ansi c89 standard' and `ansi c89 specificatioin' in google, there was none useful links return. anybody...
83
by: sunny | last post by:
Hi All What is C99 Standard is all about. is it portable, i mean i saw -std=C99 option in GCC but there is no such thing in VC++.? which one is better ANSI C / C99? can i know the major...
9
by: emagzz | last post by:
Hi all, I need to convert many text file from ANSI to UNICODE. Some body knows if there is a free utility that can do this from the command line so as I can use it inside a batch file. ...
127
by: bz800k | last post by:
Hi Does this code satisfy ANSI C syntax ? void function(void) { int a = 2; a = ({int c; c = a + 2;}); /* <<-- here !! */ printf("a=%d\n", a);
41
by: jaysome | last post by:
It's been almost eight years since ISO/IEC approved ISO/IEC 9899:1999. Does anyone know if ANSI has approved it? A Google search shows arguably confusing answers as to whether ANSI has...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.