Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

The GNU C Programming Tutorial - Designing your data structure

Node:Designing your data structure, Next:, Previous:Setting up a data structure, Up:Setting up a data structure



Designing your data structure

The steps you should take in designing a data structure follow a basic pattern:

  1. Group together all the kinds of information that must be stored and define a structure type with a member for each kind of information.
  2. Add structure pointers to the structure type to reflect the way in which each bundle of information is connected to the others.
  3. Design the algorithms to handle the memory allocation, node linking, and data storage.

 
 
  Published under free license. Design by Interspire