Can we make a c++ program without iostream header file? | Sololearn: Learn to code for FREE!

-1

Can we make a c++ program without iostream header file?

i am confused about it, is it possible on c or in c++

1/30/2017 1:35:12 PM

Kirshan Singh Rajput

4 Answers

New Answer

+7

You can exclude iostream header file but then you can't use its objects e.g cin, or any other for any input output operations. As far as I know, in C we don't have iostream header file, instead we include stdio.h and use its functions, e.g printf() & scanf().

+1

by using header file as fstream as fstream contains iostream

0

Yes if you do not need them ^^ But it does not happen often

0

Yes you can if you don't need to use cin or cout or we can say basic input output.