0
Difference between cin and cin. Get
2 odpowiedzi
+ 3
In short 'cin' reads the word without space if space is in the inputted value then it not going to take value after space
And 'cin.get()' takes the whole string it may also have space and the last charachter of the string will attached by eof(end of line).
Source: https://stackoverflow.com/q/29630513/9973584
+ 2
I guess you mean cin and cout
Cin is used to read input from the standard input device usually the keyboard
Cout is used to output data to the standard output device, that is, the screen