title: #include <fstream> visual c++ 2010 not working properly
body: <p>I know that the title is a little vague but i can't think of a better title right now. 
  The extract from my code looks like this:</p>
  
  <pre><code>#include&lt;iostream&gt;
  #include&lt;fstream&gt;
  int main(){
  ifstream f("cuvinte.txt");
  f.getline(cuvant);
  return 0;
  }
  </code></pre>
  
  <p>When i want to read the next word from "cuvinte.txt" i write f.getline(cuvant); but i get the following error</p>
  
  <pre><code>error C2661: 'std::basic_istream&lt;_Elem,_Traits&gt;::getline' : no overloaded function takes 1 arguments
  </code></pre>
  
  <p>I don't know what the issue is, and i stumbled upon this problem a while ago and still can't get past it.  </p>