C++ 提供一个 cout对象,用于产生控制台输出。
cout << "hello,world";
<< 操作符讲字符串发送到cout.
cout << "hello,world" << endl;
endl 类似于java的println作用 换行
C++ 提供一个 cout对象,用于产生控制台输出。
cout << "hello,world";
<< 操作符讲字符串发送到cout.
cout << "hello,world" << endl;
endl 类似于java的println作用 换行