Hello, my issue is when i go to input the data such as, address and phone number, when i use a space in between the house number and street name it skips to the next question. ive tried getline(), i.e getline(cin, info[i].street_address), however this does not work. How can i use spaces in my inputs for my program?
sir/mam, thank you for your reply. You are correct. When i tried using the getline() i was still running into the same problem, upon further investigation, however, it was the compiler giving me the issues. For some reason it was not recognizing the fixed code and compiling the old code using the cin >>. Thanks again.