All pastes #927782 Raw Edit

Miscellany

public cpp v1 · immutable
·published 2008-03-04 15:27 UTC
rendered paste body
std::string _str;_file.seekg(std::ios::beg);	while(!_file.eof())	{		if(_file.good())		{			// read single chars			std::string _buf;			std::getline(_file, _buf);			_str += (_buf);		}	};