问题描述
你好先生,
先生请告诉我
C和高级C之间的确切区别......有什么额外的功能或功能。 ..etc在这个高级版中添加了
。
没有高级C的标准定义,也没有任何这样的
名称是常用的。如果你看到有人提到高级
C,然后你将不得不问他的意思。
-
Ben Pfaff
无。 C是C.
发生在1999年。如果是这样,请记住陪审团仍在讨论
这是否构成预付款并且对于
C99的实现支持是最小的,但它引入的主要变化是:
- 通过有向图和< iso646.h>的受限字符集支持;
(最初在AMD1中指定)
- < wchar.hand< wctype.h>中的宽字符库支持
(最初在AMD1中指定)
- 通过有效类型更精确的别名规则
- 限制指针
- 可变长度数组
- 灵活的数组成员
- 参数数组声明符中的static和type限定符
- < complex.h中的复杂(和虚构)支持
- < tgmath.h>中的类型泛型数学宏
- long long int类型和库函数
- 增加的最小翻译限制
- < float.h>中额外的浮点特征
- 删除隐式int
- 可靠的整数除法
- 普遍性名称(\\\和\ U)
- 扩展标识符
- 十六进制浮点常数和%a和%A printf / scanf
转换说明符
- 复合文字
- 指定初始化程序
- //注释
- 扩展整数类型< inttypes.hand中的库函数和/或
< stdint.h>
- 删除隐式函数声明
- 在intmax_t中完成预处理器算术/ uintmax_t
- 混合声明和代码
- 选择和迭代语句的新块范围
- 整数常量类型规则
- 整数提升规则
- 具有可变数量参数的宏
- < stdio.hand< wchar.h>
- < math.h>中的其他数学库函数
- < fenv.h>中的浮点环境访问
- IEC 60559(也称为IEC 559或IEEE算术tic)支持
- 在枚举声明中允许使用尾随逗号
- 在printf中允许的转换说明符%l / b
- 内联函数
- < stdio.h>中的snprintf函数系列
- < stdbool.h>中的布尔类型
- 幂等类型限定符
- 空宏参数
- 新的结构类型兼容性规则(标签兼容性)
- 额外的预定义宏名称
- _Pragma预处理运营商
- 标准pragma
- _ _func_ _预定义标识符
- VA_COPY宏
- 额外的strftime转换说明符
- LIA兼容性附件
- 在二进制文件开头弃用ungetc
- 删除别名数组参数的弃用
- 将数组转换为指针不限于左值
- 对聚合和联合初始化的宽松约束
- 放宽对端口的限制有能力的标题名称
- 在没有表达式的情况下返回不允许返回值的函数
(反之亦然)
-
Richard Heathfield< http://www.cpax.org.uk>
电子邮件:-http:// www。 + rjh @
谷歌用户:< http://www.cpax.org.uk/prg/writings/googly.php>
Usenet是一个奇怪的放置" - dmr 1999年7月29日
我认为他是印度学生。我的朋友是旁遮普省的电脑老师
(印度)。许多学生问他先生,我们想要学习预科C。 。我想b / b
他们指的是许多印度书籍,这些书籍的标题是高级C,与学习C完全不同。
-
我的电子邮件是@上面的博客。
谷歌群组被阻止。原因:过度垃圾邮件
hello sir,
Sir will please tell me the exact difference between
C and advanced C...what are the extra features or funcions...etc added
in this advanced one.
There is no standard definition of "advanced C," nor is any such
name in common usage. If you see someone referring to "advanced
C," then you will have to ask him what he means.
--
Ben Pfaff
http://benpfaff.org
The exact difference is the word "advanced" followed by an extra space.
None. C is C.
It occurs to me that you may mean the revision to the Standard that
occurred in 1999. If so, bear in mind that the jury is still out on
whether this constitutes an "advance" and that implementation support for
C99 is minimal, but the major changes it introduced are:
- restricted character set support via digraphs and <iso646.h>
(originally specified in AMD1)
- wide character library support in <wchar.hand <wctype.h>
(originally specified in AMD1)
- more precise aliasing rules via effective type
- restricted pointers
- variable-length arrays
- flexible array members
- static and type qualifiers in parameter array declarators
- complex (and imaginary) support in <complex.h>
- type-generic math macros in <tgmath.h>
- the long long int type and library functions
- increased minimum translation limits
- additional floating-point characteristics in <float.h>
- remove implicit int
- reliable integer division
- universal character names (\u and \U)
- extended identifiers
- hexadecimal floating-point constants and %a and %A printf/scanf
conversion specifiers
- compound literals
- designated initializers
- // comments
- extended integer types and library functions in <inttypes.hand
<stdint.h>
- remove implicit function declaration
- preprocessor arithmetic done in intmax_t/uintmax_t
- mixed declarations and code
- new block scopes for selection and iteration statements
- integer constant type rules
- integer promotion rules
- macros with a variable number of arguments
- the vscanf family of functions in <stdio.hand <wchar.h>
- additional math library functions in <math.h>
- floating-point environment access in <fenv.h>
- IEC 60559 (also known as IEC 559 or IEEE arithmetic) support
- trailing comma allowed in enum declaration
- %lf conversion specifier allowed in printf
- inline functions
- the snprintf family of functions in <stdio.h>
- boolean type in <stdbool.h>
- idempotent type qualifiers
- empty macro arguments
- new struct type compatibility rules (tag compatibility)
- additional predefined macro names
- _Pragma preprocessing operator
- standard pragmas
- _ _func_ _ predefined identifier
- VA_COPY macro
- additional strftime conversion specifiers
- LIA compatibility annex
- deprecate ungetc at the beginning of a binary file
- remove deprecation of aliased array parameters
- conversion of array to pointer not limited to lvalues
- relaxed constraints on aggregate and union initialization
- relaxed restrictions on portable header names
- return without expression not permitted in function that returns a value
(and vice versa)
--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
I think he is an Indian student. My friend is computer teacher in Punjab
(INDIA) . Many students asked him "Sir, we want to learn advance C" . I
think by "advance C" they refer to the many of Indian books whihc are
titled by "Advanced C", quite different from "Learning C".
--
www.lispmachine.wordpress.com
my email is @ the above blog.
Google Groups is Blocked. Reason: Excessive Spamming
这篇关于C和高级C之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!