Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jaywcjlove/c-tutorial

C语言教程
https://github.com/jaywcjlove/c-tutorial

c cpp

Last synced: about 2 months ago
JSON representation

C语言教程

Awesome Lists containing this project

README

        

C Tutorial
===

[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
[![CI](https://github.com/jaywcjlove/c-tutorial/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/c-tutorial/actions/workflows/ci.yml)
[![Docker Image Version (latest by date)](https://img.shields.io/docker/v/wcjiang/c-tutorial?logo=docker)](https://hub.docker.com/r/wcjiang/c-tutorial)

C 语言是一种功能强大、简洁的计算机语言,通过它可以编写程序,指挥计算机完成指定任务。

## 什么是 C?

C 是 Dennis Ritchie (丹尼斯·里奇) 和 Brian Kernighan (布莱恩·柯林汉) 于 1972 年在贝尔实验室创建的通用编程语言,Dennis Ritchie 被称为 C 语言的创始人。

这是一种非常流行的语言,尽管它很古老。

C 与 UNIX 密切相关,因为最初,C 语言被开发用于 UNIX 操作系统。它继承了以前语言如 B 和 BCPL 的许多特性。

让我们看看在 C 语言之前开发的编程语言。

Language | Year | Developed By
---- | ---- | ----
Algol | 1960 | International Group
BCPL | 1967 | Martin Richard
B | 1970 | Ken Thompson
Traditional C | 1972 | Dennis Ritchie
K & R C | 1978 | Kernighan & Dennis Ritchie
ANSI C | 1989 | ANSI Committee
ANSI/ISO C | 1990 | ISO Committee
C99 | 1999 | Standardization Committee

## 为什么要学习 C?

- 它是世界上最流行的编程语言之一
- 如果你懂 C,那么你学习其他流行的编程语言,如 Java、Python、C++、C# 等也没有问题,因为语法相似
- 与其他编程语言(如 Java 和 Python)相比,C 非常快
- C是非常通用的; 它可以用于应用程序和技术

## C 和 C++ 之间的区别

C++ 是作为 C 的扩展开发的,两种语言的语法几乎相同
C 和 C++ 的主要区别在于 C++ 支持类和对象,而 C 不支持

## 学习目录

- [C 开始 Get Started](docs/c_getstarted.md)
- [C 语法 Syntax](docs/c_syntax.md)
- [C 输出(打印文本)Output](docs/c_output.md)
- [C 注释 Comments](docs/c_comments.md)
- [C 变量 Variables](docs/c_variables.md)
- [C 数据类型 Data Types](docs/c_data_types.md)
- [C 常量 Constants](docs/c_constants.md)
- [C 运算符 Operators](docs/c_operators.md)
- [C If...Else](docs/c_conditions.md)
- [C Switch](docs/c_switch.md)
- [C While 循环](docs/c_while_loop.md)
- [C For 循环](docs/c_for_loop.md)
- [C 跳出循环 Break/Continue](docs/c_break_continue.md)
- [C 数组 Arrays](docs/c_arrays.md)
- [C 枚举 Enum](docs/c_enum.md)
- [C 字符串 Strings](docs/c_strings.md)
- [C 用户输入 User Input](docs/c_user_input.md)
- [C 内存地址 Memory Address](docs/c_memory_address.md)
- [C 指针 Pointers](docs/c_pointers.md)
- [C 预处理器](docs/c_preprocessors.md)
- [C 函数 Functions](docs/c_functions.md)
- [C 函数参数](docs/c_functions_parameters.md)
- [C 函数声明](docs/c_functions_decl.md)
- [C 递归](docs/c_functions_recursion.md)
- [C 数学函数](docs/c_math.md)
- [C 结构](docs/c_structs.md)
- [C 中文件处理](docs/c_file_io.md)
- [C 关键字 Keywords](docs/c_keywords.md)

## Contributors

As always, thanks to our amazing contributors!



Made with [action-contributors](https://github.com/jaywcjlove/github-action-contributors).

## License

Licensed under the MIT License.