<string.h>contains old functions likestrcpy,strlenfor C style null-terminated strings.<string>primarily contains thestd::string,std::wstringand other classes.
<string.h> contains old functions like strcpy, strlen for C style null-terminated strings. <string> primarily contains the std::string, std::wstring and other classes.