title: extended initializer lists only available with
body: <p>I'm very new to C++ and I'm having trouble reading my errors I was able to eliminate most of them but I'm down to a few and I'm request help on them please.</p>
  
  <p>Here is the program</p>
  
  <pre><code>#include &lt;string&gt;
  #include &lt;iostream&gt;
  using namespace std;
  int main(){
   int *bN = new int[9];
   string bankNum;
   int *number = new int[9];
   int total, remain;
   int *multi = new int{7,3,9,7,3,9,7,3};
   cout&lt;&lt;"Please enter the bank number located at the bottom of the check"&lt;&lt;endl;
   cin&gt;&gt;bankNum;
   for(int i = 0; i &lt; 8; i++){
    bN[i]= (bankNum[i]-48);
   }
   for(int i = 0; i &lt; 8;i++){
    cout&lt;&lt;bN[i];
   }
   cout&lt;&lt;endl;
   for(int i = 0; i &lt; 8;i++){
    cout&lt;&lt;multi[i];
   }
   cout&lt;&lt;endl;
   for(int i = 0; i &lt; 8;i++){
    bN[i] = bN[i] * multi[i];
    cout&lt;&lt; bN[i];
   }
   cout&lt;&lt;endl;
   for(int i = 0; i &lt; 8;i++){
    total += bN[i]
    cout&lt;&lt;total;
   }
   cout&lt;&lt;endl;
   remain = total % 10;
   if(remain == (bankNum[9] - 48)){
    cout&lt;&lt;"The Number is valad"&lt;&lt;endl;
    cout&lt;&lt;remain&lt;&lt;endl;
   }
  }
  </code></pre>
  
  <p>and the errors</p>
  
  <pre><code>wm018@cs:~$ c++ bankNum.cpp
  bankNum.cpp: In function âint main()â:
  bankNum.cpp:9:19: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
  bankNum.cpp:9:38: error: cannot convert â&lt;brace-enclosed initializer list&gt;â to âintâ in initialization
  bankNum.cpp:30:3: error: expected â;â before âcoutâ
  </code></pre>