Skip to content

Commit c59f2a0

Browse files
committed
更新README
1 parent 4c507f7 commit c59f2a0

File tree

1 file changed

+53
-4
lines changed

1 file changed

+53
-4
lines changed

README.md

Lines changed: 53 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,57 @@
11
# 楚栋浩的C++入门教程
22

3-
课程博客:[楚栋浩的C++入门课程](https://blog.csdn.net/qq_24654009/article/details/129170760)
3+
我们的入门课程以视频授课的形式开展,循序渐进地讲述C++的知识。
44

5-
课程文档主要在课程博客,本仓库主要是课程代码; 本仓库在代码中插入了若干注释,用于学习
5+
我们从视频课程中提炼两个部分,一个是课程博客,一个是课程代码
66

7-
课程代码:
8-
1. [Hello World](hello-world.cpp)
7+
课程博客同样循序渐进总结C++的知识。
8+
9+
课程代码是为了让我们从实践中深入理解C++的知识。
10+
11+
---
12+
13+
我们再强调一下:
14+
15+
**最重要的是理解C++的设计!**
16+
17+
---
18+
19+
学习指导:
20+
21+
我们可以跟随课程博客[楚栋浩的C++入门课程](https://blog.csdn.net/qq_24654009/article/details/129170760)的内容来学习。
22+
23+
有能力也可以直接按照代码列表来从代码中学习,我们会在代码中加入很多注释。
24+
25+
> 我们在代码中以`///`开头的注释为知识性注释,`//`开头的注释为针对某一段代码的注释
26+
27+
---
28+
29+
代码列表:
30+
31+
1. Hello World
32+
* [hello-world.cpp](hello-world.cpp)
33+
2. Tetris
34+
* [tetris.cpp](tetris.cpp)
35+
3. Snake
36+
* [snake.cpp](snake.cpp)
37+
* [Snake.h](Snake.h)
38+
* [Snake.cpp](Snake.cpp)
39+
* [Map.h](Map.h)
40+
* [Map.cpp](Map.cpp)
41+
* [vec2.h](vec2.h)
42+
* [vec2.cpp](vec2.cpp)
43+
44+
---
45+
46+
如何运行代码列表中的代码:
47+
48+
> 如果你没有学习如何开发C++程序,那么你应该首先从课程博客中学习。
49+
50+
1. 安装依赖库`ncurese`
51+
2. 使用IDE构建对应目标
52+
3. 从命令行运行程序(CLion似乎无法直接调试ncurses程序;QtCreator可以选择在调试时选择在终端中运行)
53+
54+
> Ubuntu下通过如下指令安装ncurses
55+
> ```shell
56+
> sudo apt install libncurses-dev
57+
> ```

0 commit comments

Comments
 (0)