Section outline
-
Until now, our programs relied on temporary data stored in RAM, susceptible to loss upon system shutdown. To address this, files offer a solution by providing a means to store data persistently on permanent storage media.
This chapter explores the fundamentals of file handling in algorithmics and the C language, focusing on methods for efficient data storage, retrieval, and manipulation that transcend the limitations of volatile memory.
-
The course materials for Chapter 2 in English, available in PDF format.
-
This document is the content for Tutorial Series No. 2, centering around Files, especially text files. Based on what you learned in Lecture No. 2, this series is a hands-on application that reinforces what you've studied in class. It includes exercises for you to work on independently, plus extra tasks to give you practical experience and a better grasp of how files work.
-
This document presents the standard solutions for Tutorial Series No. 2 on Files.
-
Explore Files in C with our practical Worksheet N°2. This lab sheet is designed to introduce you to the practical use of Files in the C language. It covers essential topics such as reading from and writing to files, manipulating file pointers, and effectively managing file operations.
By the end of this lab, the student should be familiar with reading from and writing to files, handling file pointers, and managing file operations correctly in C.
-