Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 4
Try going here for basics
https://www.tutorialspoint.com/cplusplus/cpp_files_streams.htm
And for example and advanced stuff try this
https://www.geeksforgeeks.org/tag/cpp-file-handling/