Meaning if std::cin and std::cout ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Meaning if std::cin and std::cout ?

std::cinn and std::cout

8th Jan 2017, 3:44 PM
Fahmeen Mazhar
Fahmeen Mazhar - avatar
5 Answers
+ 5
It was more as a pseudo example for beginners to understand, don't think the actual name makes a difference if it gets the point across. Thanks for clarification though :)
8th Jan 2017, 4:34 PM
Alex
Alex - avatar
+ 4
You can think of it as cin (code in) cout ( code out ) cin meaning you feed the application data and cout returns it to you.
8th Jan 2017, 4:28 PM
Alex
Alex - avatar
+ 2
and if you use using namespace std; you dont need to use std::
8th Jan 2017, 4:03 PM
Uran Kajtazaj
Uran Kajtazaj - avatar
+ 1
cin is used to get an input from the user, while cout is used to print something on the screen
8th Jan 2017, 3:55 PM
Matteo Protopapa
Matteo Protopapa - avatar
0
Actually, they mean "console in" and "console out"
8th Jan 2017, 4:29 PM
Matteo Protopapa
Matteo Protopapa - avatar