After compiling lots of programs with g++, suddenly endl;
is exhibiting strange behavior. In addition to a newline, I also get console output of a hexadecimal number. Thinking perhaps I had some memory leak issue I rebooted my Linux Mint Debian Edition (up to date) running within VMWare on top of Windows. Problem persists. Below is my g++ version (unchanged since previous normal output) and a test program with output below that.
g++ ver (Debian 4.8.2-1) 4.8.2
void my_test_function(void)
{
// cout << "my_test_function is working" << cout << endl;
cout << "my_test_function is working\n" << cout << endl;
}
Test output:
my_test_function is working 0x600ea8