title: C++: declaring a class with functions, that handle string
body: <p>I haven`t found answer to my question using search, though I thought it is simple and popular. Anyway, my question is:
  I have got a header file, which declares a class and functions in it. It looks like that:</p>
  
  <pre><code>#ifndef SOME_CLASS_H
  #define SOME_CLASS_H
  
  #include &lt;string&gt;
  
  class mySomeClass
  {
      public:
  
      bool a_func(string &amp; myString, unsigned long int &amp; x);
      void b_func(string &amp; myString, unsigned long int &amp; x);
      void c_func(string &amp; myString, unsigned long int &amp; x);
  
      void another_func(string &amp; myString, string &amp; myString2);
  
      }
  
  #endif // SOME_CLASS_H
  </code></pre>
  
  <p>I think function definitions do not actually matter now.</p>
  
  <p>When compiling, compiler tells that <em>'string' has not been declared</em>, even though I have added <code>#include &lt;string&gt;</code> . How can I solve this except for rewriting functions to use <code>char*</code> instead. Thank you in advance.</p>
  
  <p>Done. Thanks everybody.</p>