当前位置:网站首页>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标准。
修订标准的原因:需要跟进新的技术。(例如支持当前使用多处理器的计算机)
边栏推荐
猜你喜欢
【TA-霜狼_may-《百人计划》】图形3.7.2 command buffer简
IQUNIX A80 exploring TTC金粉 初体验
1002 写出这个数 (20 分)
【LeetCode】链表题解汇总
项目2-年收入判断
TF中使用softmax函数;
1002 Write the number (20 points)
1051 Multiplication of Complex Numbers (15 points)
1.2 - error sources
TF generates (feature, label) set through feature and label, tf.data.Dataset.from_tensor_slices
随机推荐
Four operations in TF
初级软件测试工程师笔试试题,你知道答案吗?
场地预订系统,帮助场馆提高坪效
2022-08-10 mysql/stonedb-慢SQL-Q16-耗时追踪
redis operation
4.1 - Support Vector Machines
选择收银系统主要看哪些方面?
tf.cast(),reduce_min(),reduce_max()
无服务器+域名也能搭建个人博客?真的,而且很快
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
XXL-JOB 分布式任务调度中心搭建
Redis source code-String: Redis String command, Redis String storage principle, three encoding types of Redis string, Redis String SDS source code analysis, Redis String application scenarios
流式结构化数据计算语言的进化与新选择
My creative anniversary丨Thank you for being with you for these 365 days, not forgetting the original intention, and each is wonderful
Creo9.0 特征的成组
1076 Wifi Password (15 points)
JRS303-数据校验
1002 Write the number (20 points)
tf.reduce_mean()与tf.reduce_sum()
测试用例很难?有手就行