|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
| View Poll Results: What type of array do you use the most? | |||
| 1d | | 4 | 66.67% |
| Parrellel arrays | | 0 | 0% |
| 2d | | 0 | 0% |
| 3d | | 0 | 0% |
| multi-dimensional | | 2 | 33.33% |
| Voters: 6. You may not vote on this poll | |||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
||||
|
||||
|
What type of arrays used most?
What type of arrays does everyone use most in here for everyday programming.
__________________
hmmm... Last edited by andy3109 : February 20th, 2003 at 03:19 PM. |
|
#2
|
|||
|
|||
|
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"!!!)
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
||||
|
||||
|
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.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > What type of arrays used most? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|