1033 - 初始C++知识点

通过次数

0

提交次数

6

Time Limit : 1 秒
Memory Limit : 128 MB

**知识点:**

  1. 第1代:电子管数字机(1946-1958年)

  2. 第2代:晶体管数字机(1958-1964年)

  3. 第3代:集成电路数字机(1964-1970年)

  4. 第4代:大规模集成电路机(1970年至今)

  5. 编写程序:是指使用计算机语言,经过分析、设计、编码、调试等步骤,编写出程序, 解决特定问题,这个过程就叫编程。

  6. 主函数:一个程序中有且只能有一个主函数,main()

  7. 每行语句用“;”结尾

  8. //C++写程序模板,重点记忆
    #include <iostream>   //导入头文件,输入输出流 
    using namespace std;  //使用命名空间标准库 
    int main(){   //主函数 
    	//cout<<输出,endl换行 
    	cout<<"hello world"<<endl; 
    	return 0;
    }
    
    #include <iostream>
    using namespace std;
    int main(){
     cout<<"hello world"<<endl;
     return 0;
    }
    

Input

Output

Examples

Input


                            

Output