new woes with istream

dek@cgl.ucsf.edu dek@cgl.ucsf.edu
Wed Nov 10 09:09:00 GMT 1999


Benjamin Kosnik writes:
>
>fixed, thanks.

Indeed, std::getline() appears to work now.  However, I find a bug was introduced recently:

#include <sstream>
#include <fstream>
#include <iostream>

int main(int argc, char **argv)
{
  std::cout << 5.0 << std::endl;
  return 0;
}


The result is only blank text being output.

Dave


More information about the Libstdc++ mailing list