|
From: Michael D. S. <for...@hi...> - 2003-08-22 07:22:50
|
First I click on nothing in the email for obvious reasons :) But here's a good guess without looking. Usually, you have a loop going that's addressing an array and at loop 30=20 the address is out of bounds of the array. If array A has 30 elements, the last element is A[29] -- A[0] is the first.= =20 If you try to address A[30] that gets into memory that's reserved for other= =20 things. This of course usually happens in a "for" or "while" loop with=20 A[index] where "index =3D" gets to be 30 -- or perhaps even more. Put a cout statement in your loop and print out the control variable. See=20 what it is in the last loop that works. Then you can figure out what it was= =20 on the fatal loop, maybe even see it if the cout statement executes before= =20 the fatal error occurs. And, maybe not. Errors can cause other errors that have nothing to do with= =20 the first error. Then the trick is to find the one that started the chain. ms At 10:25 PM 8/21/03, you wrote: > > >hello,<?xml:namespace prefix =3D o ns =3D=20 >"urn:schemas-microsoft-com:office:office" /> > > i have a problem with execution of program in DEV-C++ > >This program stop in the thirth iteration. Here appear a message of error= =20 >that talks problems read the address of memory . > >why ? > >could you help me ?? > > Hope be helped, >=20 >Nancy Alvarez > > >---------- >Charla con tus amigos en l=EDnea mediante MSN Messenger:=20 ><http://g.msn.com/8HMDES/2728??PS=3D>Haz clic aqu=ED |