What is the diffrance between iostream and fstream ?? | Sololearn: Learn to code for FREE!

0

What is the diffrance between iostream and fstream ??

c++

10/11/2016 9:19:34 PM

Ebrahim Hanafe

1 Answer

New Answer

+4

An 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.