delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/21/11:30:27

Newsgroups: comp.os.msdos.djgpp
Subject: Re: pointer/loop problem
From: Squady AT was DOT in DOT the DOT army (Squady)
X-Newsreader: WinVN 0.99.9 (Released Version) (x86 32bit)
References: <37446063 DOT 57ECA93A AT rocketmail DOT com>
MIME-Version: 1.0
NNTP-Posting-Host: wlp43.rapidnet.net
Message-ID: <374505ab@news.vphos.net>
Date: 21 May 1999 00:05:15 -0800
X-Trace: 21 May 1999 00:05:15 -0800, wlp43.rapidnet.net
Lines: 28
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <37446063 DOT 57ECA93A AT rocketmail DOT com>, brainwav AT rocketmail DOT com says...
>
>I am making a game with allegro:
>
>typedef struct tagANIM
>{
>double clock;
>unsigned char *next;
>}ANIM;
>
>ANIM *anims;
>
>Then I load all the data into the anim structure (by malloc'ing ) its a
>basic linked list.

----- snip -----
  
>Has anyone ever experienced this?
>
>
>Denis Lamarche

Yes and it has been :
-  writing past an array bound.
-  asigning a value to a floating pointer.
-  writing to a file that failed on open.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019