What does cin mean? As well as what it means | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does cin mean? As well as what it means

12th Apr 2017, 9:47 PM
Drew Lentz
Drew Lentz - avatar
4 Answers
+ 11
It's made to take in User values from the console or where ever the program that makes a call to cin is. It can be stored in variables and used for purposes the program need. cout is the opposite, where it prints to the screen. And it stands for C- input. It comes from it's superset, C. Where C calls for a FILE* stdin (or standard-input), cin calls to the same. cout would mean C-output, where C calls for FILE* stdout (or standard-output), cout calls to the same.
12th Apr 2017, 10:08 PM
SoraKatadzuma
SoraKatadzuma - avatar
0
it's console input, like it says, you use it to take input from the user in the console :)
12th Apr 2017, 9:52 PM
Nofel Tiani
Nofel Tiani - avatar
0
enable the user to input a value
13th Apr 2017, 10:50 AM
Deekshaa chauhan
Deekshaa chauhan - avatar