title: C++ store lines of input
body: <p>I've been stuck on my assignment and I have a general question (don't want my hw answered for me). If I have lines of input such as:    </p>
  
  <pre><code>14 14 14 14 14 45 45
  18 14 60 10 10 24 12  
  </code></pre>
  
  <p>and I want to compare each row(take difference of each number; 15-14, etc.) with another line of input such as:  </p>
  
  <pre><code>15 15 15 15 20 20 50  
  </code></pre>
  
  <p>I don't wanna post my code because I'm not looking for someone to do the work for me. What I'm trying right now is to make an <code>Array</code> and use a <code>for loop</code> but I'm not sure how to store each value(separate by space), and I'm not sure how to store 5 rows into an <code>Array</code>.  </p>
  
  <p>I'm not allowed to use vectors. I'm only allowed to use iostream, sstream, and string. If anyone can provide a quick answer/hint as to how I would do this that would be great. Thank you</p>