delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/16/00:19:02

From: "23yrold3yrold" <cbarry AT pangea DOT ca>
Newsgroups: comp.os.msdos.djgpp
References: <3a120ffd_1 AT corp DOT newsfeeds DOT com>
Subject: Re: DJGPP no like vectors?
Date: Wed, 15 Nov 2000 23:21:00 -0600
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 64.4.88.130
Message-ID: <3a136b0e_3@corp.newsfeeds.com>
X-Trace: 15 Nov 2000 23:05:18 -0600, 64.4.88.130
X-Comments: This message was posted through Newsfeeds.com
X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings.
X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!!
X-Report: Please report illegal or inappropriate use to <abuse AT newsfeeds DOT com>
X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS)
Organization: Newsfeeds.com http://www.newsfeeds.com 80,000+ UNCENSORED Newsgroups.
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"23yrold3yrold" <cbarry AT pangea DOT ca> wrote in message
news:3a120ffd_1 AT corp DOT newsfeeds DOT com...
> Hello. I'm having a problem with vectors in DJGPP (and Allegro). I'm
making
> a vertical shooter, and just for fun, I've been pumping up how many
> enemies/bullets are on screen at once. All objects are stored in vectors
of
> pointers to them. If the vectors get too large, the program crashes.

OK, thanks to everyone's responses, I found my little problem. Chalk it up
to an STL newbie; I was deleting elements a little improperly, to the point
where if I deleted 2 elements of a vector in the same frame, program go
boom. Which explains why it happens more often with more junk onscreen.
Also.....

To Nimrod A. Abing.
> So you better compile your proggy with debugging info and trace it.

You so lost me there. I've got to learn to debug one of these days....

To Eli Zaretskii:
> See section 12.2 of the FAQ.

Yup, I read that before. Helps some; I was hoping for what aaaalllllll those
little numbers are all about. Oh well :)


Chris






-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

- Raw text -


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