Thursday, March 12, 2009

good




To check if a ifstream in C++ still can get data:


ifstream Read

...

if (Read.good()) {
}