What is the work of iostream in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the work of iostream in c++

what is the one to another stream.

15th Sep 2018, 4:51 PM
Rahul
Rahul - avatar
3 Answers
+ 1
The I/O stream header is responsible for transferring streams of data to the output console. It also defines a way of receiving input through a console As its name suggests I -> Input O -> Output Stream -> data streams. Without the header "iostream", you can't receive input or print output
15th Sep 2018, 5:52 PM
Dlite
Dlite - avatar
+ 1
Ya'iko stdio.h/cstdio still exist with scanf and printf related functions, without iostream.
15th Sep 2018, 6:09 PM
LunarCoffee
LunarCoffee - avatar
+ 1
That's because C++ covers the entire C language. So any C code works well for C++
15th Sep 2018, 6:12 PM
Dlite
Dlite - avatar