title: 'IntelliSense: expected an expression' on Assigning Value to Global Variable
body: <p>Please help me, I am quite new to C++</p>
  
  <p>I code this in VS 2010</p>
  
  <p>I have a global variable </p>
  
  <pre><code>int avg[SAMPLE][3]; 
  </code></pre>
  
  <p>I would like to modify the value in main program by doing something like this:</p>
  
  <pre><code>avg[SAMPLE][3] = {
  {30,96,56}, {13,114,55}, {16,118,46},{19,143,64}, {12,129,68},{13,153,69},{15,120,67}
  </code></pre>
  
  <p>}; </p>
  
  <p>However, the VS shows an error: IntelliSense: expected an expression</p>
  
  <p>But it is okay when I declare the value directly to global variable</p>
  
  <pre><code>int avg[SAMPLE][3] = {
  {30,96,56}, {13,114,55}, {16,118,46},{19,143,64}, {12,129,68},{13,153,69},{15,120,67}
  </code></pre>
  
  <p>}; </p>
  
  <p>Perhaps this is trivial, but please help me, I am new into C++, and therefore, do not have a clue about it.</p>
  
  <p>Thank you very much.</p>