Skip to content

Commit 17794c6

Browse files
authored
Update C++ 入门教程(41课时) - 阿里云大学.md
1 parent 7812b19 commit 17794c6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

C++ 入门教程(41课时) - 阿里云大学.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,10 @@ C++ 程序可以定义为对象的集合,这些对象通过调用彼此的方
322322
## 实例
323323

324324
```cpp
325-
#include <iostream>using namespace std; // main() 是程序开始执行的地方 int main(){ cout << "Hello World"; // 输出 Hello World return 0;}
325+
#include <iostream>using namespace std; // main() 是程序开始执行的地方
326+
int main(){
327+
cout << "Hello World"; // 输出 Hello World return 0;
328+
}
326329
```
327330
328331
接下来我们讲解一下上面这段程序:

0 commit comments

Comments
 (0)