TC 2.0 oddity - me or it ?

TIM at ENH.Prime.COM TIM at ENH.Prime.COM
Fri Nov 16 06:14:52 AEST 1990


I've gotten this on a few of my programs here and there, too. It was usually
because I wasn't specifying an array index within the range of the array.
i.e.: "char i[12];" declared, and I was saying "i[-1]" or "i[12]" ... I
remember it usually happened with char arrays/pointers.

Hope this helps.

/* Tim Cantin                                         1% of Americans retire
    Prime Computer, Inc., MS 10-13                    independently wealthy;
    500 Old Conn Path                             the other 99% are working,
    Framingham, Mass.  01701  (USA)          financially dependent, or dead.
   Phone: (508) 620-2800, ext. 3101                        What will you be?
   InterNet: TIM at ENH.Prime.COM
   Uucp:     {primerd, cvbnet, uunet}!ENH.Prime.COM!TIM
   Uucp:     {primerd, cvbnet, uunet}!hobbiton!tim                           */

#include "stddisclaimer.h"



More information about the Comp.lang.c mailing list