• Aaron R. Bradley


A program is only useful to the extent that it communicates the result of a computation to the user. Moreover, the most useful programs are those whose executions vary according to user-provided input. This chapter covers everyday usage of the standard I/O (input/output) library, stdio.h. As with the rest of this text, the coverage of the standard I/O library is not meant to be exhaustive but rather tutorial in nature. Standard references, such as Kernighan and Ritchie’s The C Programming Language, fill in the details; alternately, technical descriptions of standard library functions—including those used in this chapter: printf, scanf, and sscanf—are easily found online.


Command Line Fibonacci Sequence Format String Line Argument Usage Message 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2011

Authors and Affiliations

  1. 1.Dept. of Electrical, Computer, and Energy EngineeringUniversity of ColoradoBoulderUSA

Personalised recommendations