title: Problems with cin::getline in CDT Builder
body: <p>I use CDT Internal Builder and MS Visual C++ Toolchain in my project in Eclipse. The problem is that the compiler swears:</p>
  
  <pre><code>Invalid arguments '
  Candidates are:
  std::basic_istream&lt;char,std::char_traits&lt;char&gt;&gt; &amp; getline(char *, ?)
  std::basic_istream&lt;char,std::char_traits&lt;char&gt;&gt; &amp; getline(char *, ?, char)
  '
  </code></pre>
  
  <p>when I'm tapping something like this:</p>
  
  <pre><code>#include &lt;fstream&gt;
  using namespace std;
  
  int main()
  {
  fstream fin;
  char buf[256];
  
  fin.open("in.txt", fstream::in);
  fin.getline(buf, 256); // !!!!!
  
  return 0;
  }
  </code></pre>
  
  <p>What is the problem?</p>