+ 2

What does "iostream" mean and why is it used for?

15th May 2019, 3:16 AM
Vikas Bawa
Vikas Bawa - avatar
5 Réponses
+ 15
The <iostream> header defines the standard stream objects that input and output data.
15th May 2019, 3:18 AM
JTLZ
+ 9
iostream stands for standard input output stream. This header file contains definitions to objects like cin, cout, cerr etc.
16th May 2019, 7:50 AM
Vishnu
Vishnu - avatar
+ 6
Using it you can use std::cin and std::cout for example.
15th May 2019, 3:44 AM
Sonic
Sonic - avatar
+ 3
(io)stream: i & o i: input o: output "iostream" means "input & output stream" From "iostream" you get some tools to handle input and output data. Such as cout, endl, cin and str are from "iosream".
15th May 2019, 7:57 AM
Seb TheS
Seb TheS - avatar
+ 1
Iostream is a header file that includes function about input and output data Sometimes you don't need,like your own header files
16th May 2019, 12:36 PM
prisma
prisma - avatar