0

What is 'cin' in c++ ?

Please explain cin

8th Jul 2018, 9:55 AM
VC Gameplays
VC Gameplays - avatar
4 Respuestas
+ 6
It is used for taking the input from user.. https://www.sololearn.com/discuss/1325606/?ref=app
8th Jul 2018, 10:23 AM
$hardul B
$hardul B - avatar
+ 2
console input. u can take input with this method like cin>>x; where x is variable
8th Jul 2018, 9:59 AM
Yugabdh
Yugabdh - avatar
0
Standard input (cin) In most program environments, the standard input by default is the keyboard, and the C++stream object defined to access it iscin . For formatted input operations,cin is used together with the extraction operator, which is written as >> (i.e., two "greater than" signs) http://www.cplusplus.com/doc/tutorial/basic_io/
10th Jul 2018, 3:48 AM
malaka tharumuthu
malaka tharumuthu - avatar
0
Cin is used to take an input from the user, it is most commonly used with cout as this could be a code to take a number from the person using the program Int a; cout << “please enter a number”; Cin >> a; This is a program that will wait for a user to input a number and stores that number in variable a.
10th Jul 2018, 8:31 PM
robot_allbotross