|
From: sigit h. <rms...@ya...> - 2006-02-01 16:08:21
|
Halo, Thank you for the reply. The condition is like this: I have database which is already converted into .txt file. Inside this .txt file has 6 parameters, these parameters should be classified into range of classes. For example parameter A, it should be classified into range of classes from 0-0.5, 0.5-0.8, 0.8-0.9, etc. There are 30 classes for parameter A, 31 classes for parameter B, 24 classes for parameter C, 21 classes for parameter D, and 2 other parameters shouldn't be classified because they are independent to time (the value doesn't change). And each parameter has different range of classes. So, after classifying into the classes, we make the 6-Dimensional array. So, I guess the dimensions of the size are fixed, if i am not mistaken, they are the amount of classes for each parameter. How is it to programm the 6-D? I have additional question regarding how to sort the value of each parameters from .txt files to the classes. Please teach me or give me the clue. thank you, Himawan. Per Westermark <pw...@ia...> wrote: Start by informing us if all dimensions are of fixed size, or if they should have dynamic size. For fixed size, this is enough: int my_array[10][10][10][10][10][10]; For dynamic size, a lot of extra code is needed, to allocate vector arrays of vector arrays of vector arrays of ... /Per W On Wed, 1 Feb 2006, sigit himawan wrote: > Hallo to all of you, > > Honestly, I am a newbie for programming. But now I have to make 6-dimensional array in my project. I am very confuse to implement this. > Could any of you help me how to make 6-D array? I haven't seen any examples of how to do this. > thank you in advance. > > Himawan > > > --------------------------------- > > What are the most popular cars? Find out at Yahoo! Autos --------------------------------- What are the most popular cars? Find out at Yahoo! Autos |