On Sat, 9 Jan 1999, Richard Ivanowich wrote:

# Hello all,
# 
# Now i know arrays do no bound checking.  How would i make it do bound
# checking?
# 
# ie.  int array[10];
# 
# for(i=0;i<=11;i++) {
#   array[i]=i;
# }

for (i=0;i<10;i++)
{
        array[i] = i;
}

/*i.e code bound checking by hand */

-- 
+++        Beware of programmers who carry screwdrivers             +++
[EMAIL PROTECTED]      [Website undergoing re-design...]l.org

Reply via email to