当前位置:网站首页>C Primer Plus(6) 中文版 第1章 初识C语言 1.6 语言标准
C Primer Plus(6) 中文版 第1章 初识C语言 1.6 语言标准
2022-08-11 07:52:00 【weixin_客子光阴】
1.6 语言标准
1978年,布莱恩.柯林汉(Brian Kerighan)和丹尼斯.里奇(Dennis Ritchie)合著的The C Programming Language(《C语言程序设计》)第1版是公认的C标准,通常称之为K&R C或经典C。
UNIX实现提供的库已成为了标准库。
1.6.1 第1个ANSI/ISO C标准
1989年,ANSI C定义了C语言和C标准库。
1990年,ISO批准了该标准。
ANSI C制定的指导原则:最有趣的可能是:保持C的精神。列出了一下几点:
*信任程序员;
*不要妨碍程序员做需要做的事;
*保持语言精练简单;
*只提供一种方法执行一项操作;
*让程序运行更快,即使不能保证其可移植性。
最后一点上,标准委员会的用意是:作为实现,用该针对目标计算机来定义最适合的某种特定操作,而不是强加一个抽象,统一的定义。
1.6.2 C99标准
1994年,ANSI/ISO联合委员会最终发布了C99标准。达到新的目标:
*支持国际化编程。
*“调整现有实践致力于解决明显的缺陷”。
*适应科学和工程项目的关键数值计算,提高C的适应性,让C比FORTRAN更有竞争力。
1.6.3 C11标准
2007年 C标准的下一个版本是C1X,2011年发布C11标准。
修订标准的原因:需要跟进新的技术。(例如支持当前使用多处理器的计算机)
边栏推荐
- 进阶-指针
- oracle19c does not support real-time synchronization parameters, do you guys have any good solutions?
- tf中自减操作;tf.assign_sub()
- [C语言] sscanf如何实现sscanf_s?
- 1.2-误差来源
- leetcode: 69. Square root of x
- 记录一些遇见的bug——Lombok和Mapstruct的冲突导致,A component required a bean of type ‘com.XXX.controller.converter.
- 1046 划拳 (15 分)
- magical_spider远程采集方案
- Project 1 - PM2.5 Forecast
猜你喜欢
查询跟踪快递单号物流,智能分析物流中转有延误的单号
Analysys and the Alliance of Small and Medium Banks jointly released the Hainan Digital Economy Index, so stay tuned!
C语言操作符详解
TF通过feature与label生成(特征,标签)集合,tf.data.Dataset.from_tensor_slices
TF中的One-hot
tf中矩阵乘法
tf中自减操作;tf.assign_sub()
3.2 - classification - Logistic regression
The growth path of a 40W test engineer with an annual salary, which stage are you in?
1106 2019 Sequence (15 points)
随机推荐
Item 2 - Annual Income Judgment
string类接口介绍及应用
There may be fields that cannot be serialized in the abnormal object of cdc and sqlserver. Is there anyone who can understand it? Help me to answer
初级软件测试工程师笔试试题,你知道答案吗?
Test cases are hard?Just have a hand
2022 China Soft Drink Market Insights
1081 Check Password (15 points)
tf中矩阵乘法
[C语言] sscanf如何实现sscanf_s?
Interaction of Pico neo3 in Unity
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
C语言操作符详解
场地预订系统,帮助场馆提高坪效
测试用例很难?有手就行
pyqt5实现仪表盘
Mysql JSON对象和JSON数组查询
C语言-结构体
2022-08-10:为了给刷题的同学一些奖励,力扣团队引入了一个弹簧游戏机, 游戏机由 N 个特殊弹簧排成一排,编号为 0 到 N-1, 初始有一个小球在编号 0 的弹簧处。若小球在编号为 i 的弹
1076 Wifi Password (15 points)
Tf中的平方,多次方,开方计算