Hi,
Ive only just started learning C++ (yesterday), and ive already come across a problem.
part of code:
cout<<"Please Enter your address: ";
cin>> ady;
cin.ignore();
whenever i come to typing in the address part i press enter and it exits cmd.
So if i wanted somone to type in "gordon street" for entering an address would it be a char, int, or float as a variable?
sorry if i havent explained very well, im a little confused



LinkBack URL
About LinkBacks


