0
Hi
Why are these code in C++ something we use int () sometime is cin and this sign << https://sololearn.com/coach/260/?ref=app
2 ответов
+ 4
cin is pronounced "see-in". And is used for input, and uses the extraction operator (>>)
cin >> x;
cout is pronounced "see-out". Used for output, and uses the insertion operator (<<)
string x;
cout << "What is your name?: "; // Ask user their name
cin >> x; // Get user input from the keyboard
cout << "Hello: " << x; // Display the name value
+ 1
Thanks for that. Im a beginner so there are many thing to learn.