3085: 输出语句的常用类型
[Creator : ]
Description
#include <iostream> using namespace std; int main(){ cout << "我是真的帅 或 美!" return 0;}
Output
程序含义:
将 我是真的帅 或 美!原样输出!
cout 输出流,将后面的内容显示出来。
<< 输出符号,必须搭配cout一起使用。
"" 放在双引号里面的内容要原样输出;
; 每行程序以分号结尾。
#include <iostream> using namespace std; int main(){ cout << "我是真的帅 或 美!" return 0;}
程序含义:
将 我是真的帅 或 美!原样输出!
cout 输出流,将后面的内容显示出来。
<< 输出符号,必须搭配cout一起使用。
"" 放在双引号里面的内容要原样输出;
; 每行程序以分号结尾。