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

Formatted Output

In the standard collection of libraries, output is directed to a function of the operating system often called standard output. This is a term that Linux users will be very familiar with and that DOS and Windows users will know as the command-line interface. It is plain text, with some additional, optional features to provide colors and other features on some interfaces.

Unlike other programming languages, the C language itself provides no way to deal with text output inherently; this functionality has been added through some standardized libraries. Each library is created for the platform supported by the compiler in question and adheres to ANSI standards.

When the program is built, the appropriate object code for the library ...

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