title: How do I use cin for an array
body: <p>When I run this code</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  #include &lt;math.h&gt;
  using namespace std;
  
  int main() {
  
      int Array[100];
  
      cin &gt;&gt; Array;
  
      return 0;
  }
  </code></pre>
  
  <p>I get the following error message at the <code>cin</code> line: </p>
  
  <blockquote>
    <p>Invalid operands to binary expression ('std::__1::istream' (aka 'basic_istream') and 'int *</p>
  </blockquote>
  
  <p>Why can't I directly input an array? And how do I fix the problem?</p>