c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

c++

is it right to call cin, cout commands or should i say them objects .. which one is right and why

15th Aug 2018, 4:00 PM
Teddy
Teddy - avatar
3 Answers
+ 1
They are objects, or streams. There are no commands in C++.
15th Aug 2018, 7:52 PM
Vlad Serbu
Vlad Serbu - avatar
+ 1
cin is object of the class istream. cout is object of the class ostream.
17th Aug 2018, 7:55 AM
Roman Khristoforov
Roman Khristoforov - avatar
0
thanks guys.. i got that✌✌
17th Aug 2018, 11:05 AM
Teddy
Teddy - avatar