What is cin? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is cin?

4th Aug 2016, 10:02 AM
Shravan shah
Shravan shah - avatar
5 Answers
+ 2
it is used to input a number or a string without space
4th Aug 2016, 10:44 AM
Chirag Dugar
Chirag Dugar - avatar
+ 1
cin is a user input for example int a; cout<<"enter a number"; cin>>a; so u can enter a number in the place of a
4th Aug 2016, 10:43 AM
Suhail Pappu
Suhail Pappu - avatar
+ 1
thanks
4th Aug 2016, 10:45 AM
Shravan shah
Shravan shah - avatar
+ 1
if u want to include with space u can use getline() function
4th Aug 2016, 10:47 AM
Suhail Pappu
Suhail Pappu - avatar
+ 1
cin is used for person to input data or infomation
11th Sep 2016, 10:20 AM
Zeo Tripathi
Zeo Tripathi - avatar