string and string.h

Chaman Singh Verma csv610 at
Wed Dec 3 04:07:18 UTC 2008


Prior to upgradation to 8.10,  I used to declare #include <string> in my C++
codes and I never
used to include string.h. But it seems that now I have to use both of them
if my program
use both sting classes and other posix functions such as "strlen", strcpy

When using the compiler flag -Wall to produce warning, I get string.h is
deprecated. In order
to get clean compilations with no warnings, what should I do ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list