i need to do something like dirs in the pc. like C:\System\etc.
using arrays or something else.
thinked about:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
char ref [20][128][20];//just the elements
char ref_0[20][35];//wich element(0-19) and its name
char ref_0_0[20][35];
char ref_0_0_0[20][35];
char ref_0_0_1[20][35];
char ref_0_0_2[20][35];
//...until
char ref_0_0_19[20][35];
//then the next:
char ref_0_1_0[20][35];
char ref_0_1_1[20][35];
//...until
char ref_0_1_19[20][35];
|
where the can have up to 20 elements in each dir;
char ref [20][128][20];
//the [128] one is special, and thats the 'why so much?'.
i not put here because it will take too much time, but in real, the 'ref' will have depth = 6 or 7.
One more thing, each element of each reference must have a name and some informations, like, date of creation, prog that open the "thing", etc. (i thinked about havin a 'char ref_names[20][128][20]', but it will oly double the work)
at the end, it will looks like a oprational system only in DOS.
someone have any idea about makin that more objective. (if the hint will be only about declaration, say, this will help me a lot!).