I don't know whether u need #include < iostream >. Is it the beginning of any Programm? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I don't know whether u need #include < iostream >. Is it the beginning of any Programm?

23rd Nov 2016, 1:42 PM
siro14
3 Answers
+ 1
If you want to use the functions of input and output: cout, cin... you should import them. They are written in the iostream library
23rd Nov 2016, 1:54 PM
Marcell Juhasz
0
Tanks :)
23rd Nov 2016, 1:55 PM
siro14
0
<iostream> is just a library that you can call in the beginning of your code to access specific functions in that library.This also works for other things like <rand> which gives you the rand function that can generate a random number.
23rd Nov 2016, 2:35 PM
Ángel Perales
Ángel Perales - avatar