TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DARIN MCBRIDE
from: MARK HOOVER
date: 1998-04-09 14:49:00
subject: reading input from stdin

"Bother," said Pooh to Darin Mcbride about reading input from stdin.
DM>Create a class, overload the [] operator, and just subtract one.  :-)
Ah....:)
DM>Note that "other languages" cannot change either - in BASIC, it is
DM>ALWAYS 1-based, you can't "sometimes" have it one-based...
No it isn't.  Basic has a keyword called BASE that'll allow you to make 
array subscripts either a 0 or a 1.
þ CMPQwk 1.42 1960 þ Mirage Net Lie #10: I have a life outside the MirageNet.
--- MirageNet HQ!
---------------
* Origin: InnerSpace Mail Systems, Inc. (1:275/104)

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