Yet Another Bulletin Board

Welcome, Guest. Please Login or Register.
Apr 19th, 2024, 10:37am

Home Home Help Help Search Search Members Members Login Login Register Register
Pizza Business Forum « Post reply »


   Pizza Business Forum
   General
   Development
   Post reply ( Re: Crash-proof application philosophy )
Post reply
Subject:
Full name:
Email:
Message icon:
Add YABBC tags:
Add Smileys:
Message:

Disable Smilies:

Check this if you'll be adding code (or don't like smileys).

shortcuts (IE and NS6 only): hit alt+s to send, alt+p to preview, or alt+r to reset


Topic Summary
Posted by: tsarkon Posted on: Mar 3rd, 2003, 7:18am
As we are more and more close to finishing up the 1.0 version of Pizza Business, it would of most interest to make sure the application will be protected against crashes. Take a look at this URL for tips and hints!  http://devcentral.iftech.com/articles/C++/nocrashes/default.php
Posted by: ares32585 Posted on: Mar 3rd, 2003, 10:32am
One rule that we seem to pretty much completely break is the rule of having only one "permament" pointer pointing to a certain thing in memory.  However, one thing that we could do to try and make our code a little safer is use const pointers when possible, that is, when all we want is information from that object, rather than needing to change something in the object.
 
On a second note, we should probably just be very, very careful about the deletion of memory being pointed to.

Pizza Business Forum » Powered by YaBB 1 Gold - SP 1.2!
YaBB © 2000-2003. All Rights Reserved.