For iostream | Sololearn: Learn to code for FREE!

-1

For iostream

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

6/20/2017 10:53:38 AM

Tach Tallker

4 Answers

New Answer

+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. :>

0

0

but I read in book that we can use

0

read this https://msdn.microsoft.com/en-us/library/1z2f6c2k.aspx