O'Reilly logo

Just Enough C/C++ Programming by Guy W. Lecky-Thompson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Standard I/O: stdio.h

The standard input and output library, stdio, defines the interface for input and output of data to and from streams. A stream can be the keyboard, display, or a file. You already saw a few of the console I/O functions, but there are many more presented here that cover functionality such as file handling and more advanced uses such as creating temporary files.

The implementation of the library delivered with the development environment for a target platform will handle differences in platforms. For example, a Linux box has a different base implementation than a Windows command-line processor (such as DOS). The net effect, however, should be exactly the same, so that the code, once recompiled, will perform in the same way ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required