Sample Video Frame
Exercise 24: Input, Output, Files
You've been using printf
to print things, and that's great and all, but you need more. In this exercise, you'll be using the functions fscanf
and fgets
to build information about a person in a structure. After this simple introduction about reading input, you'll get a full list of the functions that C has for I/O. Some of these you've already seen and used, so this will be another memorization exercise.
Register for Learn C the Hard Way
Register today for the course and get the all currently available videos and lessons, plus all future modules for no extra charge.