compare two characters in cpp 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
}