TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JAVIER KOHEN
from: STEVEN LEI
date: 1997-10-17 17:54:00
subject: for()

While Steven was reading other messages, Javier Kohen wrote:
 JK> Actually, not :-)
 JK> I meant how can I define two vars of different types in a for
 JK> statment, Ie: for (int i, char j; ; ) { ; }
Yep...  it would be for(int j, char i[8], double decimal; .../*blah*/)
That would work.
                                Steven Lei
From: Las Vegas, Nevada, USA
E-mail = SpewMuffin@Juno.Com
... 5 out of 4 people have trouble with fractions.
___ Blue Wave/DOS v2.30 [NR]
--- Hyper No Mo Mail!
---------------
* Origin: CORVETTE BBS - Las Vegas, Nevada (702) 431-2284 (1:209/218)

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