Results: What type of array do you use the most? 

Voters
6 You may not vote on this poll

  • 1d
    66.67%
  • Parrellel arrays
    0%
  • 2d
    0%
  • 3d
    0%
  • multi-dimensional
    33.33%
    #1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2002
    Posts
    421
    Rep Power
    12

    What type of arrays used most?


    What type of arrays does everyone use most in here for everyday programming.
    Last edited by andy3109; February 20th, 2003 at 03:19 PM.
    hmmm...
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    190
    quite often when i re-visit my code, i think "man, you should have used linked lists instead....", but my (probably bad) practise is multi-dimensional arrays. probably wasting lots of memory with them...
    but then - what does memory cost nowadays? (flame me! i said "jehova"!!!)
  4. #3
  5. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,642
    Rep Power
    4247
    These days I usually use 1-d arrays mostly. If I need to store multiple pieces of information, I usually declare a struct and then declare a 1-d array of that struct type. The only time I've used 2-d arrays recently was a few years ago for an assignment on 3-d graphics.

IMN logo majestic logo threadwatch logo seochat tools logo