#include #include #include //for char_traits using namespace std; int main() { char_traits::int_type c = char_traits::eof(); cout << "End-of-file integer for char is " << c << ".\n"; char_traits::int_type wc = char_traits::eof(); cout << "End-of-file integer for wchar_t is " << wc << ".\n"; return EXIT_SUCCESS; }