Page Stats
Visitor: 1408
Exercise: C++ File Handling
- Input Character and write in a file. Hint: use put() function.
- Input String and write in a file. Hint: use put() function inside a loop.
- Read a character from a file. Hint: use get() function.
- Read a line from a file. Hint: use getline() function.
- Input filename and read all its content.
- WAP to count number of vowels from a input file.
- WAP to count number of characters and words.
- WAP to copy contents of one file into another file.
- Write a record in a file. Hint: use write() function.
- Read a record from a file. Hint: use read() function.
- Write and Read a record from a file. (Solution)
- Read and Write records from a file using switch case. (Solution)