title: "string" type could not be resolved Eclipse C++
body: <p>I am trying to do this:</p>
  
  <pre><code>#include &lt;string&gt;
  
  class Medicine{
  
      string name;
  
  
  };
  </code></pre>
  
  <p>but it's not working at all. I tried Right Click on the Project -> Index -> Searched for Unresolved Includes and it says: Unresolved includes in the Project(0 matches). It's not working with std::string either. What should I do?</p>