title: C++ multiple line input from keyboard
body: <p>For an assignment of mine, we're suppose to take in several lines of input from the keyboard. For example: </p>
  
  <p>Please enter your name:  (this is static. Always 1 input)
  Justin </p>
  
  <p>Please enter the names:  (this can be any number of inputs, smallest being 1)
  Joe<br>
  Bob<br>
  John<br>
  Jackson </p>
  
  <p>In the end, I want to compare the named entered at the beginning with all of the names entered in after. I tried using getline and cin, but that seems to only work if I know the exact number of names I expect to be entered. Can anyone guide me in the right direction please. Thank you</p>