Hello, I have found a mistake... | SoloLearn: Learn to code for FREE!

0

Hello, I have found a mistake...

In this link about OOP in C++, in the second paragraph, you can see ostream instead of iostream :/ it could confuse someone or inculcate a wrong information. I know it's quit idiot!! But I feel I have to do it. Is there anyway to report it- I can not see it... https://www.sololearn.com/learn/CPlusPlus/1712/

5/31/2020 7:29:21 PM

YoungMind

1 Answer

New Answer

+1

YoungMind That is Ok. There are different stream class like istream, ostream and iostream. istream for cin and ostream for cout and iostream is called as input output stream. iostream class is mainly declared in header <istream>. You can check here http://www.cplusplus.com/reference/istream/istream/