//================================================================================ // The get function leaves the trailing \n in the input stream. // A. Fischer, April 2001 file: get.cpp //-------------------------------------------------------------------------------- #include "tools.hpp" void use_get( istream& instr ) { cout <<"\nUsing get to read entire lines.\n"; char buf[80]; while (instr.good() ){ instr >> ws; // Without this line, it is an infinite loop. instr.get( buf, 80 ); cout <