TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: MIKE LUTHER
from: THOMAS HABETS
date: 1998-02-06 15:12:00
subject: Help with multi-dim chara

 ML>  DIM K$(100) AS STRING * 256
Uh, you mean like:
char K[256][100];
Or what?
 ML>  PRINT K$(2)
 ML>  PRINT K$(4)
cout << K[2] << "\n";
cout << K[4] << "\n";
 ML>  END
exit(0) :-)
 ML>    FOR NZ = 1 TO 99
 ML>      INPUT #3, K$(NZ)
 ML>  RETURN
for (c = 1; c < 100; c++)
    cin >> K[c];
return
 ML> turns out to be:
[lots and lots of code]
 ML> But then, I guess that mos' folks haven't looked at what the
 ML> PRINTF function really looks like inside... :(
Uh, what are you thinking?
---
---------------
* Origin: Press any key to continue... NO! Not that one. (2:201/293.22)

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