/* * tests.cpp * * Created on: Sep 15, 2010 * Author: mike */ #include "tests.hpp" //================================================================================ // getTester leaves the trailing \n in the input stream. // A. Fischer, April 2001 file: get.cpp //-------------------------------------------------------------------------------- void getTester::run() { 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 <> number; cout <