0

what is the cin exactly?

what is the cin exactly?

23rd Oct 2016, 11:57 AM
eunho lee
eunho lee - avatar
7 Antworten
+ 5
cout and cin are not key words in the C++ language. They are VARIABLE'S, instances of classes, that have been declared in <iostream>.  cout--- is a variable of type.  ostream.  cin---- is a variable of type.  istream.
23rd Oct 2016, 6:58 PM
Javed
Javed - avatar
+ 3
cin allows the user to input a value for an existing variable. E.g: int myVar; cin>>var. if I put 5, the variable myVar now has the variable 5.
23rd Oct 2016, 12:50 PM
koder
koder  - avatar
+ 1
cin is used to get string or variable data from the user
30th Oct 2016, 1:37 PM
Varun
+ 1
Cin and Cout are telling how to obtain and display information
30th Oct 2016, 5:54 PM
Agastya Asthana
Agastya Asthana - avatar
0
cin pronounced "see -in" is used to take data from users to process it for result or output
25th Oct 2016, 10:21 AM
Bhushan
Bhushan - avatar
0
cin is used to get input from the user
3rd Nov 2016, 9:27 AM
Syed Hasi
Syed Hasi - avatar
- 2
cin is like input in python if you have some knowlegde on python
29th Oct 2016, 9:45 PM
Mamadou Lamine Tall
Mamadou Lamine Tall - avatar