hi
i have the following code :
string addrress;
cin >> address;
cout << address;
if I enter any string with space in between , it will save the first word only.
e.g. if i enter "this is a test"
address = this
how can I make address to have the rest of the string too. please help
i have the following code :
string addrress;
cin >> address;
cout << address;
if I enter any string with space in between , it will save the first word only.
e.g. if i enter "this is a test"
address = this
how can I make address to have the rest of the string too. please help
Comment