Mail Archives: djgpp/1997/08/26/13:18:08
Mike4148 wrote:
>
> Hey, I'm a veteran. In BTC++ 3.0 the little array index number you
> initialize an array with was the last element number.
the fact that the lack of memory protection let you get away with
writing to places you should not have does not change the C language.
Given an array of size an, the valid indices into that are array are 0
thru n-1. You can dereference one past the and of the array but you
caanot write there, it belongs to something else.
> I'm not getting the book, by the way :).
> mike4148 AT aol DOT com
your loss.
--
Sinan
*******************************************************************
A. Sinan Unur WWWWWW
|--O+O
mailto:sinan DOT unur AT cornell DOT edu C ^
http://www.people.cornell.edu/pages/asu1/ \ ~/
*******************************************************************
- Raw text -