1 Answer
New AnswerAn iostream is a stream which you can write to and read from, you probably won't be using them much on their own. An fstream is an iostream which writes to and reads from a file. So: every fstream is an iostream but not every iostream is an fstream.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message