Hi guys,
When making a program, when do we use "#include<string.h>"?
Before using string as a data type for a variable do we have to use :
#include<string.h>?
Also why do we use "#include<stdlib.h>" in a program?
Thanks
Hi guys,
When making a program, when do we use "#include<string.h>"?
Before using string as a data type for a variable do we have to use :
#include<string.h>?
Also why do we use "#include<stdlib.h>" in a program?
Thanks
string.h
stdlib.h
How To Ask Questions The Smart Way
Btw, the std::string type is not in <string.h>, but in <string> .
Last edited by manasij7479; 06-12-2012 at 02:32 AM.