版本6和7间的区别
于2007-07-18 20:53:52修订的的版本6
大小: 1544
编辑: czk
备注:
于2007-07-18 20:54:35修订的的版本7
大小: 1255
编辑: czk
备注:
删除的内容标记成这样。 加入的内容标记成这样。
行号 2: 行号 2:
[[Navigation(slideshow)]] [[Navigation(slides)]]
行号 12: 行号 12:
 * ["/7.1 Standard Input and Output"]
 * ["/7.2 Formatted Output - printf"]
 * ["/7.3 Variable-length Argument Lists"]
 * ["/7.4 Formatted Input - Scanf"]
 * ["/7.5 File Access"]
 * ["/7.6 Error Handling - Stderr and Exit"]
 * ["/7.7 Line Input and Output"]
 * ["/7.8 Miscellaneous Functions"]

[[Navigation(children)]]
[[Include(^TCPL/7\.[0-9] .*,,titlesonly)]]

Navigation(slides)

Chapter 7 - Input and Output

Input and output are not part of the C language itself, so we have not emphasized them in our presentation thus far. Nonetheless, programs interact with their environment in much more complicated ways than those we have shown before. In this chapter we will describe the standard library, a set of functions that provide input and output, string handling, storage management, mathematical routines, and a variety of other services for C programs. We will concentrate on input and output

The ANSI standard defines these library functions precisely, so that they can exist in compatible form on any system where C exists. Programs that confine their system interactions to facilities provided by the standard library can be moved from one system to another without change.

The properties of library functions are specified in more than a dozen headers; we have already seen several of these, including <stdio.h>, <string.h>, and <ctype.h>. We will not present the entire library here, since we are more interested in writing C programs that use it. The library is described in detail in Appendix B.

Include(^TCPL/7\.[0-9] .*,,titlesonly)

TCPL/7_Input_and_Output (2008-05-22 11:45:20由czk编辑)

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