没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Programming languages — C
ABSTRACT
(Cover sheet to be provided by ISO Secretariat.)
This International Standard specifies the form and establishes the interpretation of
programs expressed in the programming language C. Its purpose is to promote
portability, reliability, maintainability, and efficient execution of C language programs on
a variety of computing systems.
Clauses are included that detail the C language itself and the contents of the C language
execution library. Annexes summarize aspects of both of them, and enumerate factors
that influence the portability of C programs.
Although this International Standard is intended to guide knowledgeable C language
programmers as well as implementors of C language translation systems, the document
itself is not designed to serve as a tutorial.
Foreword
1 ISO (the International Organization for Standardization) and IEC (the International
Electrotechnical Commission) form the specialized system for worldwide
standardization. National bodies that are member of ISO or IEC participate in the
development of International Standards through technical committees established by the
respective org anization to deal with particular fields of technical activity. ISO and IEC
technical committees collaborate in fields of mutual interest. Other international
organizations, governmental and non-governmental, in liaison with ISO and IEC, also
take part in the work.
2 International Standards are drafted in accordance with the rules given in the ISO/IEC
Directives, Part 3. Accordingly, annexes F and I form a normative p
art of this standard;
this foreword, the introduction, notes, footnotes, examples, annexes A, B, C, D, E, G, H
,
J, K, the bibliography, and the index are for information only
.
3 In the field of information technology, ISO and IEC have established a joint technical
committee, ISO/IEC JTC 1. Draft International Standards adopted by the joint technical
committee are circulated to national bodies for voting. Publication as an International
Standard requires approval by at least 75% of the national bodies casting a vote.
4 International Standard ISO/IEC 9899 was prepared by Joint Technical Committee
ISO/IEC JTC 1, ‘‘Information Technology’’, subcommittee 22, ‘‘Programming
languages, their environments and system software interfaces’’.
Introduction
1 With the introduction of new devices and extended character sets, new features may be
added to this International Standard. Subclauses in the language and library clauses warn
implementors and programmers of usages which, though valid in themselves, may
conflict with future additions.
2 Certain features are obsolescent, which means that they may be considered for
withdrawal in future revisions of this International Standard. They are retained because
of their widespread use, but their use in new implementations (for implementation
features) or new programs (for language [6.11] or library features [7.26]) is discouraged.
3 This International Standard is divided into four major subdivisions:
— the introduction and preliminary elements;
— the characteristics of environments that translate and execute C programs;
— the language syntax, constraints, and semantics;
— the library facilities.
4 Examples are provided to illustrate possible forms of the constructions described.
Footnotes are provided to emphasize consequences of the rules described in that
subclause or elsewhere in this International Standard. References are used to refer to
other related subclauses. Recommendations are provided to give a
dvice or guidance to
implementors. Annexes pro
vide additional information and summarize the information
contained in this International Standard. A bibliography l
ists documents that were
referred to during the preparation of the standard.
5 The language clause (clause 6) is derived from ‘‘The C Reference Manual’’.
6 The library clause (clause 7) is based on the 1984 /usr/group Standard.
Contents
1. Scope ............................. 1
2. Normative references ....................... 2
3. Terms and definitions ....................... 2
4. Conformance .......................... 5
5. Environment ........................... 7
5.1 Conceptual models ...................... 7
5.1.1 Translation environment ................ 7
5.1.2 Execution environments ................ 9
5.2 Environmental considerations ................. 14
5.2.1 Character sets .................... 14
5.2.2 Character display semantics ............... 16
5.2.3 Signals and interrupts ................. 17
5.2.4 Environmental limits ................. 17
6. Language ............................ 25
6.1 Notation .......................... 25
6.2 Concepts .......................... 25
6.2.1 Scopes of identifiers .................. 25
6.2.2 Linkages of identifiers ................. 26
6.2.3 Name spaces of identifiers ............... 27
6.2.4 Storage durations of objects ............... 27
6.2.5 Types ....................... 28
6.2.6 Representations of types ................ 32
6.2.7 Compatible type and composite type ........... 34
6.3 Conversions ........................ 36
6.3.1 Arithmetic operands .................. 36
6.3.2 Other operands .................... 39
6.4 Lexical elements ....................... 42
6.4.1 Ke ywords ...................... 43
6.4.2 Identifiers ...................... 43
6.4.3 Universal character names ............... 45
6.4.4 Constants ...................... 46
6.4.5 String literals .................... 53
6.4.6 Punctuators ..................... 54
6.4.7 Header names .................... 55
6.4.8 Preprocessing numbers ................. 56
6.4.9 Comments ..................... 57
6.5 Expressions ......................... 58
6.5.1 Primary expressions .................. 59
6.5.2 Postfix operators ................... 60
6.5.3 Unary operators ................... 68
i
剩余549页未读,继续阅读
资源评论
C++实习生
- 粉丝: 1879
- 资源: 863
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- WS2-32.lib,在编译程序中可以链接使用
- 秒懂傅里叶变换matlab程序实现过程
- ZEND解密dezender12
- sony 索尼IMX334摄像头模组电路板AD版硬件PCB图(6层板).zip
- 基于flask和echarts融合交易策略的bitfinex可视化微服务.zip
- 包含了wvp-assist.tar wvp-talk.tar zlmediakit.tar .
- 3r4efgh53wgrf43tw
- 2024新版Java基础从入门到精通全套视频+资料下载
- Spring AI大模型视频教程+ChatGPT视频教程+OpenAI大模型视频教程(资料+视频教程)
- ABB工业机器人教程PDF版本
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功