C++ Text File Input

c program to read and write to a file
read file in c line by line
files in c examples
file opening modes in c
file handling in c
reading a file in c
c program to write data into a file
fscanf() in c