Input/Output
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
|
Access Statement
CVW material development is supported by NSF OAC awards 1854828, 2321040, 2323116 (UT Austin) and 2005506 (Indiana University)
CVW material development is supported by NSF OAC awards 1854828, 2321040, 2323116 (UT Austin) and 2005506 (Indiana University)