[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string ???????
Felix Kollmann wrote:
> > Have you?:
> >
> > #include <string>
>
> Yes... not really. I have:
>
> #include <string.h>
>
> But that shouldn't matter.
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.
--
Pierre Phaneuf
Ludus Design, http://ludusdesign.com/
"First they ignore you. Then they laugh at you.
Then they fight you. Then you win." -- Gandhi