+ 1

Why are the cout and cin are objects but not functions?

20th Jan 2017, 10:20 PM
Hammad Yaqoob
Hammad Yaqoob - avatar
5 Antworten
+ 12
Pretty self explanatory isn't it?
20th Jan 2017, 10:53 PM
Filip
Filip - avatar
+ 10
What is a funcion? How do you write it?
20th Jan 2017, 10:46 PM
Filip
Filip - avatar
+ 1
okay i got it
20th Jan 2017, 10:51 PM
Hammad Yaqoob
Hammad Yaqoob - avatar
0
bcas c++ is a object oriented language......cin & cout belongs to the iostream class....without it we can't use it...
21st Jan 2017, 3:48 AM
Sumit Urkude
Sumit Urkude - avatar
0
cout and cin are inputstream and outputstream and these are work as to display a value on the screen
30th Jan 2017, 7:50 PM
Abdul Sami Ayoubi
Abdul Sami Ayoubi - avatar