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

Cin explanation

Hi, i've been learning C++ and i cant quite understand cin if you can please explain it to me in a simple way so that I understand Thanks Appreciate it

29th Jun 2017, 2:55 PM
CodeGod
CodeGod - avatar
5 Answers
+ 3
cin is a type of input command which lets the user enter the value of a variable. Although it can only store integer,float and character value but not string. Therefore cin is the basic yet useful input comand for entering a single value to variable. Hope you got it God. -from Devil.
29th Jun 2017, 3:01 PM
DEVIL kingg
DEVIL kingg - avatar
+ 1
Cout = C - output Cin = C - input
29th Jun 2017, 3:38 PM
Manual
Manual - avatar
+ 1
@Meher that code would not compile cin takes input you described cout
29th Jun 2017, 6:03 PM
Manual
Manual - avatar
+ 1
thanks @DEVIL kingg it really helped..i understand now. P.S:improve on your jokes your devil one sucked peace
30th Jun 2017, 5:36 PM
CodeGod
CodeGod - avatar
0
@codeGod....i know bro...i suck at jokes. :-( :'(
1st Jul 2017, 1:25 PM
DEVIL kingg
DEVIL kingg - avatar