sorry for my bad english
i´m trying to make a application to read from a text file like this:

No. Models: 3

1: soldier.mdl
id: 5

2: tank.mdl
id: 3

3: gun.mdl
id: 9

But also could be another quantity of models.

once the program read the file i want to create two arrays of strings with the size of number of models(i.e. two arrays of 3 strings for the last text file) to save in one the name of the model and in the other one the id of each model.

for example the final result will be:

array models
0 - solider.mdl
1 - tank.mdl
2 - gun.mdl

array of ids
0 - 5
1 - 3
2 - 9

i can do this very easy in c++ but in lite-c i´m having a lot of troubles.

if someone can give me some tips to do this?