Which is the correct string header for standard C++.
<cstring> or <string>
Thanks.
Which is the correct string header for standard C++.
<cstring> or <string>
Thanks.
depends what u want really.
<cstring> is nothing more than <string.h> wrapped into namespace std.
<string> is the header you require to use c++ stl string objects.
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi