广州市海珠区建设局五位一体网站,二级建造师证报考要求,投资 网站 源码,建设网站设计制作目录 一、程序二、输出三、分析与总结 一、程序
#include iostream //标准输入输出流 i - input 输入 o - output 输出 stream 流 相当于 stdio.h
using namespace std; //使用 标准 命名空间 //程序入口函数
int main()
{// cout 标准输出流对象// iostream //标准输入输出流 i - input 输入 o - output 输出 stream 流 相当于 stdio.h
using namespace std; //使用 标准 命名空间 //程序入口函数
int main()
{// cout 标准输出流对象// 左移 在C下有了新的寓意 用于在cout后拼接输出的内容 // endl --- end line 刷新缓冲区 并且换行 cout hello world endl;system(pause); //阻塞return EXIT_SUCCESS; //返回正常退出
} 二、输出
hello world 三、分析与总结
没什么好分析的… 基本的头文件、输出流、命名空间