how to compare two chars in c++ code example
Example: how to compare two char* in c++
#include <string.h>
...
if (strcmp(firstSTR, secondSTR) == 0) {
// strings are equal
...
} else {
// strings are NOT equal
}
#include <string.h>
...
if (strcmp(firstSTR, secondSTR) == 0) {
// strings are equal
...
} else {
// strings are NOT equal
}