string and string.h

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


Hello,

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
etc.

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 ?

Thanks.
csv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081203/927ee929/attachment.html>


More information about the ubuntu-users mailing list