C 程序设计
C 程序设计
An introductory course in C programming. The reference textbook is Stephen Prata, C Primer Plus, 6th edition, Chinese edition, Posts & Telecom Press, 2019.
Course Information
Lecture Slides and Source Code
| Chapter | Topic | Files |
|---|---|---|
| 01 | Getting Ready | 初识C语言 |
| 02 | Introducing C | C语言概述 |
| 03 | Data and C | 数据和C |
| 04 | Character Strings and Formatted Input/Output | 字符串和格式化输入输出 |
| 05 | Operators, Expressions, and Statements | 运算符、表达式和语句 |
| 06 | C Control Statements: Looping | C控制语句:循环 |
| 07 | C Control Statements: Branching and Jumps | C控制语句:分支和跳转 |
| 09 | Functions | 函数 |
| 10 | Arrays and Pointers | 数组和指针 |
| 11 | Character Strings and String Functions | 字符串和字符串函数 |
| 13 | File Input/Output | 文件输入输出 |
| 14 | Structures and Other Data Forms | 结构和其它数据形式 |
| 16 | The C Preprocessor and the C Library | C预处理器和C库 |
| 17 | Advanced Data Representation | 高级数据表示 |
Textbook source packages:
Exercises and Assignments
Development Resources
- OpenCV sample: MyHeart
- OpenCV setup guide
- Visual Studio multi-file projects
- Visual Studio 2022 Community
- Install Visual Studio 2022
- C/C++ debugging overview
- Create a C++ console application