int main()
{
cout<<"一起吃火锅";
cout<<"一起吃火锅"<<endl;
cout<<"一起吃火锅"<<'\n';
return 0;
}
//打印 cuot 框架
cout + << +字符串 << +; (不换行)
cout + << +字符串 << +endl+; (换行)
cout +<< +字符串 << +'\n' +; (换行)
int main()
{
cout<<"一起吃火锅";
cout<<"一起吃火锅"<<endl;
cout<<"一起吃火锅"<<'\n';
return 0;
}
//打印 cuot 框架
cout + << +字符串 << +; (不换行)
cout + << +字符串 << +endl+; (换行)
cout +<< +字符串 << +'\n' +; (换行)