TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JERRY COFFIN
from: THOMAS MAEDER
date: 1997-08-13 17:16:00
subject: fstream identifying mode

JC>     voidÿopen(ÿconstÿchar*ÿname, intÿmode) :
JC>         mode_(mode)
JC>     {
JC>         fstream::open(name, mode);
JC>     }
The member/base  initialization  list  syntax  can  only  be  used  in
constructors.
JC>     int mode() {
JC>         return mode_;
JC>     }
Better declare this method const.
Gruss
Thomas
---
 þ MM 1.0 #0113 þ If you call me insane again, I'll eat your other eye.
---------------
* Origin: McMeier & Son BBS (2:301/138)

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™.