0
Is cin and cout are objects?
5 odpowiedzi
+ 5
Yeah
+ 5
@Judy as @Rrestoring said it is a yes.
Cout and Cin are both objects.
I am not sure if It will make sense to you.
C++ has inner classes that make up the language like vector which is a class.
Ostream and Istream are classes as well.
cout is an object of the class Ostream
cin is an object of Istream.
+ 4
Yes they are objects. In fact they are respectively instances of istream and ostream classes.
0
thanks