Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

Article Preview


Buy Now

Print:
PDF:

Beginner's Corner

Basic Data Structures, Part I

Finding for the most efficient data structure

Issue: 4.4 (March/April 2006)
Author: Marc Zeedar editor-at-rbdeveloper.com
Article Description: No description available.
Article Length (in bytes): 9,290
Starting Page Number: 34
RBD Number: 4413
Resource File(s): None
Related Link(s): None
Known Limitations: None

Excerpt of article text...

It is a rare computer program that doesn't manage data -- information -- of some kind. A word processor manages text. Games need to remember high scores, player information, game progress, and more. Basically any program that creates files has to manage that data in memory before it is written to disk. Most programs need ways to organize and display this data, to allow the user to edit the data, and to save and retrieve the data. How this data is organized in memory is known as a data structure; using the correct data structure for your project can be the difference between success and failure, a project completed on time or lengthy delays caused by frustrating difficult-to-find bugs. The right data structure can also make updating and adding features to your program easier.

When I first began programming, I knew nothing about data structures: I simply used whatever was convenient or available in the language. This usually meant that I used arrays. Years later as I moved from BASIC to Pascal, I discovered records (called structures in other languages), pointers, and linked lists. Suddenly, what used to be such a simple decision that it was no decision at all, was complicated, and I had to think about my long-term goals.

...End of Excerpt. Please purchase the magazine to read the full article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com