🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7079

TC memory problems

#7079
From: Michael Lorenz Holling
Date: Fri, 14 Jun 1991 22:43
14 lines
997 bytes
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
Technical Details
Message-ID: <IcKIOje00WB78E00lR@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!mh2o+

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!mh2o+
From: mh2o+@andrew.cmu.edu (Michael Lorenz Holling)
Newsgroups: comp.os.msdos.programmer
Subject: TC memory problems
Message-ID: <IcKIOje00WB78E00lR@andrew.cmu.edu>
Date: 14 Jun 91 22:43:59 GMT
Organization: Class of '92, Carnegie Mellon, Pittsburgh, PA
Lines: 14