记录:如果没有使用 using namespace std;
就会报错:/tmp/615821863/main.cpp:10:5: error: use of undeclared
cout << "a = " << a << endl; //合法,输出10
std::cout
记录:如果没有使用 using namespace std;
就会报错:/tmp/615821863/main.cpp:10:5: error: use of undeclared
cout << "a = " << a << endl; //合法,输出10
std::cout