title: What type of code do I use to let unlimited inputs?
body: <pre><code>#include &lt;iostream&gt;
  int main {
  
      cin&gt;&gt;i;
      cout&lt;&lt;i;
  
  }
  </code></pre>
  
  <p>How do I change the <code>cin</code> part so that it lets in any amount of inputs separated by a space?</p>