版本7和8间的区别
于2006-06-20 20:41:15修订的的版本7
大小: 2204
编辑: czk
备注:
于2007-07-18 21:11:19修订的的版本8
大小: 2247
编辑: czk
备注:
删除的内容标记成这样。 加入的内容标记成这样。
行号 1: 行号 1:
## page was renamed from Standard Library

Navigation(slideshow)

Appendix B - Standard Library

This appendix is a summary of the library defined by the ANSI standard. The standard library is not part of the C language proper, but an environment that supports standard C will provide the function declarations and type and macro definitions of this library. We have omitted a few functions that are of limited utility or easily synthesized from others; we have omitted multi-byte characters; and we have omitted discussion of locale issues; that is, properties that depend on local language, nationality, or culture.

The functions, types and macros of the standard library are declared in standard headers:

   <assert.h>  <float.h>   <math.h>    <stdarg.h>  <stdlib.h>
   <ctype.h>   <limits.h>  <setjmp.h>  <stddef.h>  <string.h>
   <errno.h>   <locale.h>  <signal.h>  <stdio.h>   <time.h>

A header can be accessed by

  #include <header>

Headers may be included in any order and any number of times. A header must be included outside of any external declaration or definition and before any use of anything it declares. A header need not be a source file.

External identifiers that begin with an underscore are reserved for use by the library, as are all other identifiers that begin with an underscore and an upper-case letter or another underscore.

  1. ["/B.01 Input and Output: <stdio.h>"]

    1. ["/B.01.1 File Operations"]
    2. ["/B.01.2 Formatted Output"]
    3. ["/B.01.3 Formatted Input"]
    4. ["/B.01.4 Character Input and Output Functions"]
    5. ["/B.01.5 Direct Input and Output Functions"]
    6. ["/B.01.6 File Positioning Functions"]
    7. ["/B.01.7 Error Functions"]
  2. ["/B.02 Character Class Tests: <ctype.h>"]

  3. ["/B.03 String Functions: <string.h>"]

  4. ["/B.04 Mathematical Functions: <math.h>"]

  5. ["/B.05 Utility Functions: <stdlib.h>"]

  6. ["/B.06 Diagnostics: <assert.h>"]

  7. ["/B.07 Variable Argument Lists: <stdarg.h>"]

  8. ["/B.08 Non-local Jumps: <setjmp.h>"]

  9. ["/B.09 Signals: <signal.h>"]

  10. ["/B.10 Date and Time Functions: <time.h>"]

  11. ["/B.11 Implementation-defined Limits: <limits.h> and <float.h>"]

Navigation(children)

TCPL/B_Standard_Library (2008-05-22 11:40:38由czk编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.