C++ working with files using fstream library | Arkadiusz Włodarczyk | Skillshare

C++ working with files using fstream library

Arkadiusz Włodarczyk, Professional teacher

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
16 Lessons (2h 45m)
    • 1. 1. What you will learn after the course

    • 2. 2. Streams - what is input and output

    • 3. 3. How to open and close files

    • 4. 4. File opening modes

    • 5. 5. Stream's error flags

    • 6. 6. Reading position pointer - seekg and tellg

    • 7. 7. Writing position pointer - seekp and tellp

    • 8. 8. Extracting characters from files

    • 9. 9. Comparing content of two files

    • 10. 10. Put - loading characters from cin stream directly to file

    • 11. 11. Peek - peeking characters without extracting

    • 12. 12. Putback - returning extracted character on stream

    • 13. 13. Write - writing bytes to file

    • 14. 14. Gcount - counting characters from last operation

    • 15. 15. Mini database

    • 16. 16. What after this course


About This Class

This course is about operating on files in C++ language usingthe fstream (file stream) library.

This course consists of over 2 hours of great content. Before buying, please watch free videos so that you will see for yourself if you like the way I teach.

You do not need to know anything about operating on files,but it's good idea to know the basics of C++ language.

After this course you will know:

  1. how to operate on input and output streams,
  2. how to open and close files and how to handle errors connected to that operations,
  3. states of file opening,
  4. stream’s error flags,
  5. how to check the size of an opened file,
  6. what binary files are and how to compare them,
  7. how to extract and save the content of a file,
  8. how to create a mini database that allows you to add, show, search, remove, load, and save,
  9. many functions about working on files

If you have any questions regarding the topics covered in this course after watching the videos please feel free to ask. I'm always happy to help.





  • --
  • Beginner
  • Intermediate
  • Advanced
  • All Levels
  • Beg/Int
  • Int/Adv


Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.

Arkadiusz Włodarczyk

Professional teacher

I am the author of 27 very popular video courses about programming, web-development and math in Poland. I've also created 7 video courses in English. Over 125,000 people enrolled in my Udemy courses. I put all my heart into creation of courses. I always try to explain everything the easiest possible way. I'm sure that my courses will help you in the programming and web development adventure :)

I believe that everyone has the ability to develop software if they are taught properly. Incl...

See full profile

Report class