TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: STEVEN LEI
from: THOMAS MAEDER
date: 1997-10-24 18:54:00
subject: for()

SL> Yep...  it would be for(int j, char i[8], double decimal; .../*blah*
SL> That would work.
My  compiler  gives  a  syntax  error,  and  I want him to do so: when
parsing "char", it looks for the name  of  another  int  variable  but
finds a language keyword.
I don't think that you can declare variables of different  types  like
this.
Thomas
---
 þ MM 1.0 #0113 þ Power corrupts.  Absolute power is kind of neat.
---------------
* Origin: McMeier & Son BBS (2:301/138)

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