🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools.mfc
Article #68

Linked Lists

#68
From: John Lutz
Date: Fri, 05 Apr 1996 08:14
33 lines
1195 bytes
Hello everyone!

	I have a somewhat interesting problem. I am taking over an existing 
project that is a propretary graphic object based engine. Essentially the 
product is a game. The existing product wasen't complete in design or 
implementation.
 
 There are several objects...
	

	Graphic Object-----V
		Animation Sprite__V
			Prop Sprite
		TextSprite
		
		Indicator (fuel gauge)
		Button

	Etc..

  I would like to store all the objects in a linked list for a given window. I 
would like for the linked list to handle the dynamic allocation of these 
object and return the pointer to the subclass that is allocating the objects 
on the linked list. I would like for the linked list class to delete all 
objects dynamically.

Any help is appreciated in this area.


John

tsk@cts.com
Technical Details
Message-ID: <4k2kom$k5r@news2.cts.com>
Path: arc1-ca.pugleaf.net!newshub.cts.com!ns

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!newshub.cts.com!ns
From: tsk@cts.com (John Lutz)
Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.lang.c++
Subject: Linked Lists
Date: 5 Apr 1996 08:14:14 GMT
Organization: Cathedral Software, Inc.
Message-ID: <4k2kom$k5r@news2.cts.com>
NNTP-Posting-Host: tsk.cts.com
Summary: Linked Lists, C++, Allocation
Keywords: Linked Lists, C++, Allocation