Previous versions always did.
For the code:
Code: Select all
while (1) {
OSTimeDly(TICKS_PER_SECOND);
std::cout << "one "<<endl << "two "<< endl ;
}
}
Code: Select all
one
two
one
two
one
two
one
two
one
two
Code: Select all
std::ostringstream Reading;
Reading <<"one "<<std::endl << "two "<< std::endl ;
while (1)
{
OSTimeDly(TICKS_PER_SECOND);
std::cout << Reading.str() <<"three "<< std::endl ;
}
}
Code: Select all
one
two
three
one
two
three
one
two
three
Ed