+ 1

What will happen if this line #include<iostream > removed from program !

c++

6th Mar 2017, 6:29 PM
Fady Hany
Fady Hany - avatar
2 ответов
+ 5
iostream is a default library in C++. If you are not using amything from that library, it wouldnt make any difference in your results of the code.
6th Mar 2017, 6:53 PM
Wen Qin
Wen Qin - avatar
+ 1
That depends. If the program is using classes and objects defined and included in the iostream header file then your program will fail to compile. If your program uses nothing brought in by iostream then your program will run fine.
6th Mar 2017, 6:34 PM
Alexandre Sabourin
Alexandre Sabourin - avatar