TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CHRISTOPHER BUTLER
from: JAVIER KOHEN
date: 1997-07-09 16:51:00
subject: Changing an IOStream

On 29-Jun-97, Christopher Butler wrote to All about Changing an IOStream.
 CB> Could someone show me how I change an OFStream, so that it puts the date 
 CB> and
 CB> time before every line I write to the file... preferably in words of one
 CB> syllable :)
Derive a class from ofstream and the overload the output operators to
first output the time & then call the base f()s...
Internet: jkohen@tough.com þ Javier Kohen/The_Crusher þ 
ttp://jkohen.base.org
Fidonet: 4:900/748.3  þ  Sk-Network: 200:201/126  þ  Rockernet: 33:300/100.3
PGP keyID: 3423EAA9
... You didn't tell him about the statue...? þ Riker
-!- CrusherTag 0.3.0.
--- Terminate 4.00/Pro
4:900/748.3)
---------------
* Origin: The King of The Ring BBS þ +54-1-OFF-LINE þ TLD 0 - 7

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.