December 2024
Beginner
456 pages
13h 37m
English
In the last chapter, we laid the groundwork for a tool that is able to number lines from a given file. We have learned how we can read arguments from the user. So now, we can start thinking about how to read from a file and how to get the individual lines of the file’s content.
This chapter starts by providing a discussion on reading files and transforming the read contents. Following this, we will write a general function whose control and data flow are influenced by functions given as arguments. ...