Friendly I/O Operations

In this chapter, we will cover the following recipes:

  • Reading the contents of a file
  • Ensuring stream closing with the use function
  • Reading the contents of a file line by line
  • Writing the contents to a file
  • Appending a file
  • Easy files copying
  • Traversing files in a directory
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.62.29