Brandon Barker, Ben Trumbore (revisions)
Cornell Center for Advanced Computing

Revisions: 6/2024, 9/2022, 8/2021, 9/2014, 2011 (original)

This section introduces the structures, stream pointers, functions and syntax that you will need to print to (or read from) the terminal or a file.

Objectives

After you complete this segment, you should be able to:

  • Print formatted text to the terminal or a file.
  • Read text from the terminal or a file and extract values from it.
Prerequisites

There are no formal prerequisites for learning C beyond basic computer operations.

 
©  |   Cornell University    |   Center for Advanced Computing    |   Copyright Statement    |   Inclusivity Statement