C++ Compiling Problems

Ralf Corsepius rc040203 at freenet.de
Tue May 24 10:23:17 UTC 2005


On Tue, 2005-05-24 at 17:49 +0800, John Summerfied wrote:
> C++ does have strings:
The conception of a C++ "string" is quite different from that in other
languages and leaves a lot of room for argument of "if C++ has
Strings". 

For example: In Pascal, Modula etc. Strings are element of the language
and are designated as datatypes for "representation of textual data" and
textual I/O. 

A C++ "string" is a specialization of a container class template, i.e.
"string" is not element of the actual C++-language, and is not a
datatype explicitly specialized on "representation of textual data".

In a nutshell: In C++, "string" is not an ordinal type, in other
languages it is.

Ralf





More information about the fedora-list mailing list