Is there any way to remove it, or should I go about finding the time using a different method?
Expand|Select|Wrap|Line Numbers
- ostream &td(ostream &stream)
- {
- time_t t;
- t = time(NULL);
- stream << asctime(localtime(&t));
- return stream;
- }
asctime without trailing newline character
|