comp.lang.ada
 help / color / mirror / Atom feed
From: ohk@ultra.tfdt-o.nta.no (Ole-Hjalmar Kristensen FOU.TD/DELAB)
Subject: Re: Help you C++ Debuggers!
Date: 1997/01/21
Date: 1997-01-21T00:00:00+00:00	[thread overview]
Message-ID: <OHK.97Jan21093610@ultra.tfdt-o.nta.no> (raw)
In-Reply-To: 1997Jan20.144447.5581@news


In article <1997Jan20.144447.5581@news> Gautier.DeMontmollin@maths.unine.ch (Gautier) writes:

   Macarthur Drake <drake@bme.ri.ccf.org> writes:
   > I am in the mist of completing a major piece of code in C++. However I
   > keep comming across a particularly difficult bug. Can you help?
   > 	
   > 	I am simply trying to declare a three D array:
   > 
   > 
   > float objects[9000][10][10];
   > 
   > 	However, sometimes while compiling I get a strange compilation error
   > like one of the following:
   > 
   > 1. segmentation violation
   >
   The C compilers are known to have problems with multi-dim arrays.
   Remember that C is near to a macro assembler (-> segmentation...)!
   Remedy:

You must use some pretty strange C compilers.....

   1. 
      Make an 1-dim array and handle the 3 dims with multiplications

Download gcc if your C compiler is broken.

   2.
      Download a good Ada compiler... N.B.: your message was posted in
      comp.lang.ada . Was it premonitory ? ;)-

Yes.




  parent reply	other threads:[~1997-01-21  0:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-16  0:00 Help you C++ Debuggers! Macarthur Drake
1997-01-19  0:00 ` Tore Lund
     [not found]   ` <32E4EC1B.748E@acm.org>
1997-01-23  0:00     ` Tansel Ersavas
1997-01-23  0:00       ` Danette & Murray Root
1997-01-23  0:00       ` Tansel Ersavas
     [not found]       ` <01bc093e$9992fa60$966d6f9e@Defualt.DVRD.CDC.GOV>
1997-01-24  0:00         ` Tore Lund
1997-01-25  0:00         ` Lawrence Kirby
1997-01-20  0:00 ` Gautier
1997-01-20  0:00   ` Tanmoy Bhattacharya
1997-01-21  0:00   ` Chris Engebretson
1997-01-21  0:00   ` Ole-Hjalmar Kristensen FOU.TD/DELAB [this message]
1997-01-21  0:00     ` Bradley A. Burns
1997-01-21  0:00   ` Chris Engebretson
1997-01-21  0:00   ` David Emery
1997-01-22  0:00   ` Michael Chapman
1997-01-22  0:00   ` David Emery
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox