TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: William McBrine
from: Bo Simonsen
date: 2003-08-01 01:40:28
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™.