hello. can anyone help in declaring and allocating mem for a dynamic 2-dimensional array of strings?
what i try to do is the following: i'm reading a file that comntains records etc and want to make an array such as:
product code |produc name |
__(char *)______|___(char *)_____|
the first column must contain the product code and the second must have the corresponding product name.
both product codes and product names are strings (char *) and should be allocated dynamically. so it must do the whole array.
i got a bit of a problem visualising arrays that got more than 3 dimensions (like in this case). with three dimensions i think of it as axes x,y,z. but with more i cant see how it works.
thanx a lot