[ad_1]
The type of a should be std::string and not int.
So just change the declaration to:
std::string a;
1
[ad_2]
solved how to use strings in if statments (c++)?
[ad_1]
The type of a should be std::string and not int.
So just change the declaration to:
std::string a;
1
[ad_2]
solved how to use strings in if statments (c++)?