> cout.close() ; > cout.flush() ; There is no close() MF for std::ostream. > RH7.1 > libstdc++ Version: 2.96 Release:81 Please try a current version of libstdc++. You'll find it in any of the gcc-3.x releases. -benjamin