[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string ???????
Pierre Phaneuf wrote:
> It does. string.h is a C header containing the str*() family of
> functions. It is found in /usr/include/string.h on my system.
> string is a C++ only header containing the string class. It is found in
> /usr/include/g++-2/string on my system.
In general, the definitions in the header files with no '.h' suffix use
the new C++ "Namespace" feature. (Which is an ugly hack IMHO).
Hence the 'string' file is a C++ only thing - and you *should* be able
to use 'string.h' from within a C++ program if you don't want to use
Steve Baker http://web2.airmail.net/sjbaker1
email@example.com (home) http://www.woodsoup.org/~sbaker