title: C++ fatal error when try to compile: fatal error: string: No such file or directory
body: <p>I want to create a new class like below, and when I try to compile, an error occurs. How can I deal with such problem?</p>
  
  <pre><code>#ifndef _ACCOUNT_
  #define _ACCOUNT_
  
  #include &lt;string&gt;
  using namespace std;
  
  class CompteBancaire
  {
  private: // Sheltered members:
      string name; // Account holder
      unsigned long nr; // Account number
      double state; // State of the account
  public: // Public interface:
      Account( const std::string&amp; nom, unsigned long a, double b);
      Account( const std::string&amp; nom );
    //  bool init( const string&amp;, unsigned long, double);
      void display();
  
  };
  #endif 
  </code></pre>