(C++) std::strcmp

January 26, 2018 · View on GitHub

 

 

 

 

 

(C++) std::strcmp

 

std::strcmp is an STL function to compare two C-style strings lexicographically.

 

std::strcmp is defined in the cstring.h header file.

 

 

 

 

Examples