Mail Archives: djgpp/1998/08/13/18:32:34
Endlisnis wrote:
>
> richard AT stardate DOT bc DOT ca wrote:
>
> > >char H[9];char* b;
> > >b = &H[4];
> > or
> > b = H + 4;
>
> OK, but I am used to Borland, and that won't work there, but it does
> work in DJGPP.
Huh? Which version of Borland is that? Pointer arithmetic with array
labels is defined in ANSI C. For a commercial standard compiler to not
support it would be... strange.
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT net |
| "Starting flamewars since 1993" | http://www.cs.net/fighteer/ |
| *** NOTICE *** This .signature | ICQ UIN#: 7406319 |
| is generated randomly. If you don't like it, sue my computer. |
---------------------------------------------------------------------
- Raw text -