Код: Выделить всё
#include
using namespace std;
int main(){
string a = "v";
string b = "v";
string c = "v";
if(a,b,c == "v"){
//do something
}
}
Подробнее здесь: https://stackoverflow.com/questions/781 ... ame-string
Код: Выделить всё
#include
using namespace std;
int main(){
string a = "v";
string b = "v";
string c = "v";
if(a,b,c == "v"){
//do something
}
}