mirror of
https://github.com/luzhisheng/js_reverse.git
synced 2025-04-19 18:24:51 +08:00
27 lines
603 B
C++
27 lines
603 B
C++
//
|
|
// Created by aiyin on 2024/3/21.
|
|
//
|
|
|
|
// 头文件 导入 iostream 库
|
|
#include<iostream>
|
|
|
|
// 主函数
|
|
//int main(){
|
|
// // std 命名空间,指明 cout 所指的命名空间
|
|
// std::cout << "Hello World" << std::endl;
|
|
//}
|
|
|
|
// 添加了 using namespace std; 就可以省略 std 命名空间
|
|
using namespace std;
|
|
//int main(){
|
|
// // std 命名空间,指明 cout输出 所指的命名空间
|
|
// cout << "Hello World" << endl;
|
|
//}
|
|
|
|
// cin 等待键盘输入
|
|
int main(){
|
|
// std 命名空间,指明 cout输出 所指的命名空间
|
|
cout << "Hello World" << endl;
|
|
cin.get();
|
|
}
|