::> Could someone show me how I change an OFStream, so that it puts the date
::> time before every line I write to the file... preferably in words of one
::> syllable :)
What compiler? Borland has streamable Date and Time classes that are easy to
use for things like that. Other compilers may have similar classes to do
that.
Otherwise, you'll have to write your own...
There is a date class in SNIPPETS and the demo shows how you can use it
with iostreams...
# Herbert Bushong harchon@centuryinter.net [TEAM OS/2]
- Blackbeard's BBS Intelec: 239:600/0
+ Fido: 1:19/19 http://www.intelec.com/software/
---
RM 1.31 2508 Debrief: Wife listening while you talk in your sleep.
---------------
* Origin: Blackbeard's BBS - Ville Platte, LA - 318-468-3385 (1:19/19)
|