Hey there..
I am writing a program, and I need my user to input a 5 digit number. I then need to store that into a "short" variable. I know how to get userinput when using character arrays with cin.get and cin.getline, but C++ can't let me do it with integers. Can someone point me to how can I accomplish this?
Thanks a lot in advance.