About fstream
- Try running this code with a dat file. This will open number.dat file and print out all the numbers in the dat file. simple.cpp - number.dat
- This uses getline to print out all the lines from words.dat file. fstream.cpp - words.dat
Quiz about global_variables
These are some questions asked by students by email. I hope this will be helpful for your final exam preparation. Good luck!
(Special thanks to Cinthiya Chander and Zhiyuan Ren)
- QA.pdf