当前位置:网站首页>C Primer Plus(6) 中文版 第1章 初识C语言 1.1 C语言的起源 1.2 选择C语言的理由 1.3 C语言的应用范围
C Primer Plus(6) 中文版 第1章 初识C语言 1.1 C语言的起源 1.2 选择C语言的理由 1.3 C语言的应用范围
2022-08-11 07:52:00 【weixin_客子光阴】
1.1 C语言的起源
1972年,贝尔实验室的丹尼斯.里奇(Dennis Ritch)和肯.汤普逊(Ken Thompson)在开发UNIX操作系统时设计了C语言。
C语言是在B语言(汤普逊发明)的基础上进行设计。主要目标是成为有用的语言。
1.2 选择C语言的理由
1.2.1 设计特性
融合了计算机科学理论和实现的控制特性。
设计理念让用户能够轻松地完成自定向下的规划、结构化编程和模块化设计。
1.2.2 高效性
C语言具有汇编语言才具有的微调控制能力(汇编语言是为特殊的中央处理单元设计的一系列内部指令,使用助记符来
表示;不同的CPU系列使用不同的汇编语言。
1.2.3 可移植性
C是可移植性的语言。
1.2.4 强大而灵活
功能强大而且灵活的UNIX操作系统,大部分使用C语言写的。
1.2.5 面向程序员
可以访问硬件、操作内存中的位。
丰富的运算符。
具有大型的库,包含众多有用的C函数。
1.2.6 缺点
C语言使用指针,而涉及指针的编程错误往往难以察觉。
具有大量的运算符,容易编写让人极其费解的代码。
1.3 C语言的应用范围
UNIX操作系统 计算机游戏 嵌入式系统 机器人工厂 星球大战电影 PC应用 计算机语言 卢卡斯公司。
面向对象是一门哲学,它通过对语言建模来适应问题,而不是对问题建模以适应语言)。
C++几乎是C的超集。
已成为嵌入式系统编程的流行语言。
应用于科学编程领域。
在Linux开发中扮演者极其重要的角色。
边栏推荐
猜你喜欢

Distributed Lock-Redission - Cache Consistency Solution

My creative anniversary丨Thank you for being with you for these 365 days, not forgetting the original intention, and each is wonderful

FPGA 20个例程篇:11.USB2.0接收并回复CRC16位校验

1061 判断题 (15 分)

1051 Multiplication of Complex Numbers (15 points)

1036 Programming with Obama (15 points)

项目1-PM2.5预测

测试用例很难?有手就行

基于微信小程序的租房小程序

1002 写出这个数 (20 分)
随机推荐
Pico neo3 Unity Packaging Settings
初级软件测试工程师笔试试题,你知道答案吗?
1046 punches (15 points)
Evolution and New Choice of Streaming Structured Data Computing Language
如何仅更改 QGroupBox 标题的字体?
1002 Write the number (20 points)
抽象类和接口
Machine Learning Summary (2)
Distributed Lock-Redission - Cache Consistency Solution
2.1-梯度下降
进阶-指针
欢迎加入sumarua网络安全交流社区
Break pad source code compilation--refer to the summary of the big blogger
Kaldi语音识别工具编译问题记录(踩坑记录)
4.1-支持向量机
Redis source code: how to view the Redis source code, the order of viewing the Redis source code, the sequence of the source code from the external data structure of Redis to the internal data structu
测试用例很难?有手就行
Find the latest staff salary and the last staff salary changes
AcWing 272. 最长公共上升子序列
2022-08-10 mysql/stonedb-slow SQL-Q16-time-consuming tracking