I want to know the standards document of the c++ language

S

Sreenivas

I want to know the standards document of the c++ language .Where can
i get??
How different is c++ from vc++?
 
L

Lionel B

I want to know the standards document of the c++ language

The current standard (1998) is known as "ISO/IEC 14882:1998". The most recent
revision was in 2003 and is known as "ISO/IEC 14882:2003". It is produced by
the The C++ Standards Committee:

http://www.open-std.org/jtc1/sc22/wg21/
Where can i get??

It is not free (nor cheap). You can buy it here:

http://www.iso.org/iso/iso_catalogue/catalogue_ics/catalogue_detail_ics.htm?csnumber=38110
How different is c++ from vc++?

C++ is a programming language. Visual C++ is a Microsoft software product
including a C++ compiler, development environment and a bunch of libraries.
It is intended for developing C++ programs for MS Windows.
 
L

Lionel B

[...]
The most recent
revision was in 2003 and is known as "ISO/IEC 14882:2003". It is
produced by the The C++ Standards Committee:

http://www.open-std.org/jtc1/sc22/wg21/


It is not free (nor cheap).

"Cheap" is a relative term. $30 or so for a PDF document once every
five years is not really *that* expensive...

Wow. So how does the ISO store get off on selling it (the PDF) for
CHF 370, which works out as about $340 ?!
Actually, I find ANSI web store more accommodating in terms of prices.

You're not kidding!
I don't think they'd refuse to sell a copy to you.

No sir, my money's as good as anyone's.
Try

http://webstore.ansi.org/RecordDetail.aspx?sku=INCITS/ISO/IEC+14882-2003

There should also be a mention that the compiler included in VC++
package provides numerous extensions to the language. You don't have to
use them, but if you do, the language is not C++ any more.

I suspect that goes for many (most?) compilers - certainly does for g++.
A major gripe is that such compilers also seem to *default* to non-standards-
comliance and that it's generally a major pain to work out how to run them
in fully standards-compliant mode.

[...]
 
R

red floyd

J

James Kanze

[...]
The most recent revision was in 2003 and is known as
"ISO/IEC 14882:2003". It is produced by the The C++
Standards Committee:
http://www.open-std.org/jtc1/sc22/wg21/
Where can i get??
It is not free (nor cheap).
"Cheap" is a relative term. $30 or so for a PDF document
once every five years is not really *that* expensive...
Wow. So how does the ISO store get off on selling it (the PDF)
for CHF 370, which works out as about $340 ?!

Technically, I don't think that they're supposed to sell it at
all (but I don't know all the details of the organization).
When I bought my first C standard (paper copy, many, many years
ago), they forwarded my order to AFNOR (because I had a French
address).
You're not kidding!
No sir, my money's as good as anyone's.

Technically, I'm almost certain that ANSI isn't supposed to sell
copies outside of the US. Practically, as long as the country
you actually live in doesn't complain...
I suspect that goes for many (most?) compilers - certainly
does for g++. A major gripe is that such compilers also seem
to *default* to non-standards- comliance and that it's
generally a major pain to work out how to run them in fully
standards-compliant mode.

It's more or less a problem with every compiler I know. On the
other hand, I think if you use the IDE, it's easy to
accidentally invoke the compiler as a C++CLI compiler, rather
than a C++ compiler with a few extensions or irregularities;
C++CLI is really a different language. (Of course, I can't say
for sure, as I've never tried to invoke the compiler from the
IDE. Invoked from the command line, it's no worse, and no
better, than any of the others.)
 
J

James Kanze

[...]
A stacks of blank paper (500 sheets) would cost about $5 in
any office supply store, and it's more useful than a dead tree
version of the Standard, AFAIC. With the electronic version
you at least can search for text, copy-paste from it, and it
doesn't take any room on your shelf or desk.

On the other hand, you can't highlight it, or make marginal
notes or stick post-it notes in it. Both versions have their
uses.
 
H

Hendrik Schober

James said:
[...]
It's more or less a problem with every compiler I know. On the
other hand, I think if you use the IDE, it's easy to
accidentally invoke the compiler as a C++CLI compiler, rather
than a C++ compiler with a few extensions or irregularities;
C++CLI is really a different language. (Of course, I can't say
for sure, as I've never tried to invoke the compiler from the
IDE. Invoked from the command line, it's no worse, and no
better, than any of the others.)

(To invoke VC from within the VS IDE, you need to setup a
project first, and when doing so, you have to decide whether
to create a real C++ or a C++.NET project.)

Schobi
 
I

Ian Collins

James said:
[...]
A stacks of blank paper (500 sheets) would cost about $5 in
any office supply store, and it's more useful than a dead tree
version of the Standard, AFAIC. With the electronic version
you at least can search for text, copy-paste from it, and it
doesn't take any room on your shelf or desk.

On the other hand, you can't highlight it, or make marginal
notes or stick post-it notes in it.

Or read it in the bath...
 
E

Erik Wikström

James said:
[...]
A stacks of blank paper (500 sheets) would cost about $5 in
any office supply store, and it's more useful than a dead tree
version of the Standard, AFAIC. With the electronic version
you at least can search for text, copy-paste from it, and it
doesn't take any room on your shelf or desk.

On the other hand, you can't highlight it, or make marginal
notes or stick post-it notes in it. Both versions have their
uses.

Mmm... I don't know about your first statement. Convert your PDF into a
DOCX file, and in MS Word you can do all those things...
Electronically, of course. I am surprised that Adobe hasn't introduced
all those features yet. Or maybe they have, but not in the free version
of their reader...

It's in Adobe Reader, and has for some time (don't know when it was
introduced) but for some strange reason most documents does not allow it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top