Lab: I/O, Control Flow, and Strings


May 25, 2013

Course Home   e-mail

In this lab we are going to explore some of the interactions among our three most-recent major topics - I/O, control flow, and strings. In particular, we are going to explore one of the most common I/O tasks, reading an entire file of data from beginning to end.

Get into Code::Blocks and create a new project for this lab.

1 Checking the Status of Input
2 Free-Form Inputs
 2.1 Numbers
 2.2 Strings
3 Line-By-Line Inputs
4 Problems for You

[Previous]