title: While reading a file (ifstream), is there any way to direct it to make a new line?
body: <p>While reading a file (ifstream), is there any way to direct it to make a new line?</p>
  
  <p>For instance, I would like for THIS to happen:</p>
  
  <p>myfile>>array[1]>>array[2]>>endl;</p>
  
  <p>Obviously, the "endl" just isn't allowed. Is there another way to do this?</p>
  
  <p>Edit---thanks for the quick responses guys!  </p>
  
  <p>From a text file, I'm trying to store two strings from that file into arrays and then do the same with the next line (or until I desire, using a for loop)</p>
  
  <p>Using strings is important to me as it will make my future program a lot more flexible.</p>