TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DARIN MCBRIDE
from: THOMAS MAEDER
date: 1997-07-27 13:10:00
subject: exceptions in c++

DM> void GetToken(
DM>               istream& is,
DM>               string&  token,
DM>               bool&    eof
DM>              )
DM> {
[...]
DM> }
Extracting this functionality into a function of its own is  always  a
good idea.
In this case, it's just not necessary because istream::operator>>(char
*) does almost the same thing.
Thomas
---
 þ MM 1.0 #0113 þ Noah!  Come quick!  There's water in the basement!
---------------
* 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™.