Lesson 7. Fundamentals of Reading and Writing Information

In most programs you create, you need to display information on the screen or receive input from the keyboard. Many of the programs presented in earlier lessons have performed these tasks, but you might not have understood exactly how. In this lesson you learn:

Image The basics of C’s input and output statements

Image How to display information onscreen with the printf() and puts() library functions

How to format the information that displays onscreen

How to read data entered from the keyboard with ...

Get C Programming in One Hour a Day, Sams Teach Yourself, 7th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.