/in/foo.cc: In function 'int main()':
/in/foo.cc:11:18: error: no match for 'operator||' (operand types are 'bool' and 'std::__cxx11::string {aka std::__cxx11::basic_string<char>}')
if(a == "江苏"||a = "浙江"||a = "上海"){
~~~~~~~~~~~~~^~~
/in/foo.cc:11:18: note: candidate: operator||(bool, bool) <built-in>
/in/foo.cc:11:18: note: no known conversion for argument 2 from 'std::__cxx11::string {aka std::__cxx11::basic_string<char>}' to 'bool'
/in/foo.cc:11:32: error: no match for 'operator||' (operand types are 'const char [7]' and 'std::__cxx11::string {aka std::__cxx11::basic_string<char>}')
if(a == "江苏"||a = "浙江"||a = "上海"){
~~~~~~~~^~~
/in/foo.cc:11:32: note: candidate: operator||(bool, bool) <built-in>
/in/foo.cc:11:32: note: no known conversion for argument 2 from 'std::__cxx11::string {aka std::__cxx11::basic_string<char>}' to 'bool'