1.cout打印输出
2.代码练习
#include "iostream"
using namespace std;
int main()
{
cout << "I love Libby!" << endl;
cout << 10 << endl;
cout << "I am 10" << "years old." << endl;
return 0;
}
<<endl在中间有换行的效果,也可以不写
3.总结
4.练习
代码参考
#include "iostream"
using namespace std;
int main()
{
cout << "If you want to learn IT," << "come to itheima." << endl;
return 0;
}