Closed anonrig closed 11 months ago
std::string(char*) makes a deep copy of the string, but string.h provides us with strcmp C function to have equality checks between 2 different char pointers.
std::string(char*)
string.h
strcmp
std::string(char*)
makes a deep copy of the string, butstring.h
provides us withstrcmp
C function to have equality checks between 2 different char pointers.