View Single Post
Old 01-30-2008, 09:25 AM   #6 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 651
DJMaze is on a distinguished road
structures are great for two things:

1. easy understandable replacement for to much function parameters.

2. union data so that it can be accessed in different ways

#1 is also used by M$ a lot in Windows C functions just so that it easy to add additional function parameters without loosing viewability.
Have you ever seen functions with 30 parameters? I DID!
__________________

UT: Ultra-kill... God like!
DJMaze is offline   Reply With Quote