Results 1 to 2 of 2
The using of multidimensional arrays (with 3,4 or more dimensions) do the programming more easy and avoid the errors of its indexing in contrast to 1 dimensional arrays.
The only ...
- 07-19-2011 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 24
multidimensional arrays
The using of multidimensional arrays (with 3,4 or more dimensions) do the programming more easy and avoid the errors of its indexing in contrast to 1 dimensional arrays.
The only problem which i have listen is that the access of its values is more slow because the data are saved at difference places of memory (multiple malloc for all dimension). This is right? Or is too less the time difference that the above problem does not important enough to look?
- 07-19-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Is this a C or C++ problem? Is the array size/dimension known at compile time, or dynamic runtime provided parameters?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote