[comp.os.msdos.programmer] TC memory problems

mh2o+@andrew.cmu.edu (Michael Lorenz Holling) (06/15/91)

I'm having problems with Turbo C - is there possibly a major bug here?  I
have two global arrays:

unsigned char command_table[200][2];
short switch_table[10][32][8];

The program worked when the tables were hardly filled in, then all of a
sudden the data being written into command_table was also being written
into switch_table.  I'm not using weird pointers or anything either, just
straight array access.  Does anyone know what's going on?

Thanks,
- Mike
mh2o@andrew.cmu.edu