No longer #include <iostream>? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

No longer #include <iostream>?

Do we need to write #include <iostream> if we use file for input and output? Help me, plzz

8th Jun 2020, 10:51 AM
Phat Le
Phat Le - avatar
1 Answer
+ 2
Not necessary but,If you use cout or cin statement for any case then required else <fstream> is enough
8th Jun 2020, 11:56 AM
Ayushi Patel
Ayushi Patel - avatar