does cin.get() function only reads character
Cin.get and cin.getline
Yes cin.get() is used to read a single character.
for more reference try to read the documentation as well
http://www.cplusplus.com/reference/istream/istream/get/
does cin.get() function only reads character
Yes cin.get() is used to read a single character.
for more reference try to read the documentation as well
http://www.cplusplus.com/reference/istream/istream/get/