why cant we use iostream instead of fstream ?? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

why cant we use iostream instead of fstream ??

20th Sep 2016, 6:20 PM
Mehul Jain
Mehul Jain - avatar
2 Respuestas
+ 1
iostream is the header file to deal with inputs and outputs to the console. fstream is the header file to deal with the modification of external files, such as inputs and outputs, again.
20th Sep 2016, 6:37 PM
Cohen Creber
Cohen Creber - avatar
0
input output stream file that's why we use iostream
21st Sep 2016, 12:38 PM
Hariom Sharma
Hariom Sharma - avatar