Hi, I'm a relative newbie to C++ and am studying in a 101 course right now. I'm having a real weird issue with my output. The goal is to read an entire line from an input file and have that read into a string. I'm not appearing to have any issues regarding that. The problem is that when I start to try to print these values to the screen, only the last value actually prints. For instance, if I were to have the following (ignore the output not being lined up properly for now)....:
....Then only the variable cityState will be printed to the screen. Name and street are stored (apparently), but they don't get printed to the output screen.
Any help regarding this issue would be much appreciated!