- 1

For iostream

hello i am beginner in cop I have one question that without iostream we can use cout function

20th Jun 2017, 10:53 AM
Tach Tallker
Tach Tallker - avatar
4 Answers
+ 5
0) std::cout is an object of ostream (which is included in iostream header) 1) You can use cout without iostream, BUT you will have to include ostream header instead. 2) Nobody does (1). So just use iostream. :>
20th Jun 2017, 12:09 PM
Hatsy Rei
Hatsy Rei - avatar
0
No
20th Jun 2017, 10:59 AM
Navid Tak
Navid Tak - avatar
0
but I read in book that we can use
20th Jun 2017, 11:02 AM
Tach Tallker
Tach Tallker - avatar
20th Jun 2017, 11:13 AM
Navid Tak
Navid Tak - avatar