Hi, any website where I can read this ISO C++ standard? Regards, Verdi
"Karol Pietrzak" <noodlez84@earthlink.net> writes:
ISO C++ does _not_ have ANY headers that end with ".h". e.g, iostream, not iostream.h. vector, not vector.h
I strongly suggest you read the C++ standard (ISO/IEC 14882:1998(E). The following is a copy of the section D.5:
D.5 Standard C library headers
For compatibility with the Standard C library, the C++ Standard library provides the 18 C headers, as shown in Table 100:
Table 100 C Headers
<assert.h> <iso646.h> <setjmp.h> <stdio.h> <wchar.h> <ctype.h> <limits.h> <signal.h> <stdlib.h> <wctype.h> <errno.h> <locale.h> <stdarg.h> <string.h>
To avoid misunderstanding, I also include the note 160:
: The ".h" headers dump all their names into the global namespace, : whereas the newer forms keep their names in namespace : std. Therefore, the newer forms are the preferred forms for all uses : except for C++ programs which are intended to be strictly : compatible with C.
-- Alexandr.Malusek@imv.liu.se
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the archives at http://lists.suse.com
-- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net