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/

31st May 2020, 7:29 PM
YoungMind
YoungMind - avatar
1 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/
31st May 2020, 8:55 PM
A͢J
A͢J - avatar