I have the following snippet. I have come across several examples where one can read a line using getline and then simply print it. I am struggling to continuously save from std