title: C++ 11 auto feature
body: <p>i am new to c++ 11 . so i wore a small code using c++ 11 feature . but the compiler issues no type found error while using auto . my compiler is updated and i use osx mavericks
  here's my code :</p>
  
  <pre><code>#include&lt;iostream&gt;
  #include&lt;vector&gt;
  using namespace std;
  int main()
  {
     vector&lt;int&gt; v(100);  
     for(int i=0;i&lt;100;i++)
     {
        v[i]=i;
     }
  
     for(auto p=v.begin();p!=v.end();p++)
        cout&lt;&lt;*p&lt;&lt;'\t';
     cout&lt;&lt;endl;
     return 0;
  }
  </code></pre>