1."hello world"程序
#include <iostream>//以#开头的都是预处理命令;
//include后面跟头文件,把该头文件的所有内容拷贝到这里;cout和cin的声明需要iostream头文件
int main()//main函数:程序入口
{
std::cout<<"hello world"<<std::endl;
std::cin.get();//等待输入回车,然后进入下一行
}
2.编译过程
cpp-->obj files-->(通过linkers连接成,过程很复杂)exe file
3.编译快捷键
Ctrl+F7 或者按左上角的编译符号
4. b站05讲,"hello world" (main和log函数)
C:\Users\crystal\Documents\Visual Studio 2012\Projects\Project6