| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: This always drives me cr |
Hello William!
Jul 31 18:21 03, William McBrine wrote to Neil Heller:
WM> for (int x = 0; x < 100; x++)
WM> pIntArray[x] = 0;
That's not ANSI C/C++, it should be:
int x;
for(x=0; x < 100; x++)
...
I know borland c++ compile it, but gcc/g++ doesn't.
Regards,
Bo
--- Msged/LNX 6.1.2
* Origin: The Night Express, Roennede Dk (2:236/100)SEEN-BY: 633/267 270 @PATH: 236/100 237/9 20/11 106/1 2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
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™.