The Dink Network

Reply to Re: Gonna make me a map editor

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
July 2nd 2004, 12:37 PM
wizardb.gif
merlin
Peasant He/Him
 
Well, if you're concerned about having to call delete every time, just overload the new and new[] operators and store all allocated memory in a list. Call one function at close to delete the list and voila. No deletes or free's necessary. This is, however, extremely bad practice.