使用 cout << .... << endl;
首先要:
#include <iostream>
然后要用:
using namespace std;如果不用此句,则上面的cout语句要改为:
std::cout << .... << std::endl;
使用 cout << .... << endl;
首先要:
#include <iostream>
然后要用:
using namespace std;如果不用此句,则上面的cout语句要改为:
std::cout << .... << std::endl;