title: C++ "std::string has not been declared" error
body: <p>I've been looking for an answer on websites but couldn't find any answer that helped me.</p>
  
  <p>I have a code that uses strings when i tried (like suggested) to add these lines:</p>
  
  <pre><code>using namespace std;
  using std::string;
  #include &lt;string&gt;
  </code></pre>
  
  <p>I tried to use each of them seperately and I tried all of them together. The best situation was when all of the string errors disappeared but I had another weird error on the line "using std::string" and the error was: std::string has not been declared.
  Any ideas? Thanks guys.</p>