C++: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Moved to C / C++) |
||
Line 1: | Line 1: | ||
#REDIRECT [[C / C++]] |
|||
== References == |
|||
* [http://www.acm.uiuc.edu/webmonkeys/book/c_guide/ The C Library Reference Guide] |
|||
: Reference for standard C |
|||
* [http://www.cplusplus.com/reference/ C++ Reference] |
|||
** Also contains description of [http://www.cplusplus.com/reference/clibrary/ C Language Library] |
|||
** ... and of [http://www.cplusplus.com/reference/iostream/ IOStream Library] |
|||
* [http://www.sgi.com/tech/stl/ Standard Template Library Programmer's Guide from sgi] |
|||
== <iostream.h> or <iostream> == |
|||
* <code><iostream></code> is the standard compliant library. <code><iostream.h></code> is deprecated since many many years. |
|||
* <code><iostream></code> contains a set of templatized I/O classes which support both ''narrow'' and ''wide'' characters (by contrast, <code><iostream.h></code> classes are confined to ''char'' exclusively). |
|||
* Third, the C++ standard specification of iostream's interface was changed in many subtle aspects. Consequently, the interfaces and implementation of <code><iostream></code> differ from <code><iostream.h></code>. |
|||
* Finally, <code><iostream></code> components are declared in namespace <u><code>std</code></u> whereas <code><iostream.h></code> components are declared in the global scope. |
|||
Note that both libraries '''cannot''' be mixed in one program. |
Revision as of 12:14, 11 August 2010
Redirect to: