+ 4

Can u tell me what "#include<iostream>" do?

I didn't get it.

10th Dec 2016, 11:47 AM
mahesh naandade
mahesh naandade - avatar
4 Answers
+ 2
iostream is an inbuilt header/library file which contains inbuilt classes and functions to access those we need to import it
10th Dec 2016, 11:51 AM
Piyush Goyani
Piyush Goyani - avatar
+ 1
simply telling all header files are already written codes that we use to make our programming tasks easier, or else we would have to write 1os of lines of code just to print something
10th Dec 2016, 11:56 AM
Morpheus
Morpheus - avatar
+ 1
it is a library file which defines the input output objects(cin, cout)
10th Dec 2016, 12:33 PM
prasanth guna
prasanth guna - avatar
0
iostream helps define the cin and cout objects we use in codes for taking input or printing output it's the input output stream class defined in standard c++ library, that we can use with the #include command all header files are accessible using include command example #include <iostream> #include <string> for using string predefined functions #include <math> for using predefined math functions
10th Dec 2016, 11:52 AM
Morpheus
Morpheus - avatar