title: error: identifier "list" is undefined (new to Visual C++)
body: <p>I just want to initialize a List on Visual C++ but I am getting following errors:</p>
  
  <ul>
  <li>error: identifier "list" is undefined</li>
  <li>error C2065: 'list' : undeclared identifier</li>
  </ul>
  
  <p>why is this happening?</p>
  
  <p>my includes:</p>
  
  <pre><code>#include "stdlib.h"
  #include "malloc.h"
  #include "stdio.h"
  #include &lt;set&gt;
  #include &lt;vector&gt;
  #include &lt;string&gt;
  #include &lt;list&gt;
  #include "stdafx.h"
  #include &lt;iostream&gt;
  #include &lt;io.h&gt;
  #include &lt;fcntl.h&gt;
  #include &lt;fstream&gt;
  #include &lt;WebServices.h&gt;
  #include "./WCF_managed_app.xsd.h"
  #include "./WCF_managed_app_Client.wsdl.h"
  #include "./WCF_managed_app_Client.xsd.h"
  #include "./schemas.microsoft.com.2003.10.Serialization.xsd.h"
  </code></pre>