TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: BALOG PAL
from: JERRY COFFIN
date: 1997-08-28 16:06:00
subject: MATHPLAY.CPP 16:06:3808/28/97

On (25 Aug 97) Balog Pal wrote to Jerry Coffin...
 JC> stream.getline(label_, 256);    // discard leading junk.
 JC> stream.getline(label_, 256, ',');
 BP> I'd better use sizeof(label_) instead of the number. If you happen to
 BP> change the size you can do it in one and only place.
Absolutely true - I'm not sure what I was thinking when I wrote that,
but it certainly was NOT a good idea.
 BP> Just another idea for the final use. If one dislike a separate file
 BP> with menu, it can placed into a single string as is. (Well, adding
 BP> some "'s and \n's
 BP> :)  Then in the processing session just make this string a strstream
 BP> and use the very same way as above.
Hmmm...I hadn't thought of that, but it's absolutely true, and might be
a pretty slick way to go.
    Later,
    Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)

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