Learn C Programming

Lesson 4 of 5 · Three Projects

Module 17 · Three Projects

Project Two: A Contact Book That Saves to a File

ProReading

The program reads one command a line until the input ends. A command is its first word, then one space, then the rest of the line. An empty line is skipped.

Pro lesson

This one goes deeper

It is included with this track and with Learn Pro. Every question on the Skill Test can be answered from the free lessons, so this is depth and never a gate on the certificate.

What is inside Project Two: A Contact Book That Saves to a File

  1. The commands
  2. Write first: the file format
  3. What load does with a bad file
  4. Requirements
  5. Sample input
  6. Sample output
  7. On your own machine
  8. Marking rubric
  9. Submission checklist