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)
|