In C# or C++ it would be enough to use 2D array, but how about in C? The data I want to have in array is a directory listing like this
(which of first row is not actually part of the array, just a header line)Code:File name Date Size Rank c:\folder\other.jpg 20100107-160340 400 2 c:\directory\something.doc 20100107-230744 15000 1
The array has nothing but text in it (numbers are treated as text too), but does that mean I need first dimension for column (file name, rank, etc.), second for each file (other.jpg, something.doc) and a third one for each string I have there, so in this case should the array be just
char data, or does it have to be
What's the smartest way to stuff this kind of info into an array?