C++学习第一天(helloword)

C++编译过程

C++学习第一天(helloword)

 #include <iostream>
//iostream 提供了一个叫命名空间的东西,标准的命名空间是std 包含了有关输入输出语句的函数
// input&^output
//stream 流
//命名空间
using namespace std;
int main(void)
{
//count就是黑屏幕
cout << "hello world" << endl;
//endl 是控制符,表示重启一行
//与其说程序显示一条消息,不如说它将一个字符串插入到了输出流中;
// getchar();
return ;
}
#if 0
#include <stdio.h>
int main(void)
{
printf("hello world");
return ; }
#endif

HelloWorld

上一篇:Think with Google 京东如何玩转TensorFlow?


下一篇:poj1741 Tree(点分治)