What is #include<iostream> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is #include<iostream>

what is #include<iostream> where it is used.what its role in program and can i use this multiple times in a program .

16th Apr 2018, 3:40 AM
chandrapal singh
chandrapal singh - avatar
2 Answers
+ 18
iostream is the header file which contains all the functions of program like cout, cin etc. and #include tells the preprocessor to include these header file in the program. No u don't have to use it multiple times... once included it will do it's job in a program cout is console output cin is console input. ... It is the predefined library function used for input and output also called as header files check this link for more 👇 https://www.quora.com/What-means-include-iostream-h-in-C++
16th Apr 2018, 4:03 AM
🌛DT🌜
🌛DT🌜 - avatar
+ 14
thanks for your guidance 🌛 DT 🌜 ...really nice👍
17th Apr 2018, 6:23 PM
Hans Larry Mba Bekale
Hans Larry Mba Bekale - avatar