+ 4
Another noob'quest
Does the function 'cin' only recice input as numbers ?
5 Answers
+ 2
nope
it can receive input of any data type
but you must declare your variable in that data type before using it in cin
+ 3
no, it can recive all data types.
+ 3
@phong its ok that you asked this question but in future try to experience these things on your own. You may try use char with cin. This will help in developing an attitude for scenarios where it is not feasible to ask others. Anyways if you encounter some problem you can always ask others(as you did this time).good luck.
+ 2
k thx
+ 2
No, cin recieves input of all data types