D
dsa89
I would like to know if anyone can help me with this. I would like to load
a file into a data structure but dont know how. Here is an example file.
;File Example
;Created 03/04/99
[Command]
name = "2QCF_y"
command = ~D, DF, F, D, DF, F, y
[Command]
name = "5b"
command = b, b, b, b, b
time = 30
etc....
My question is if someone can help me to load any file (I know how to
open it) but then input it into a data structure where each case is
command = ......
My problem is making the data structure increase or decrease depending on
the number of commands. Can anyone help me with this by pointing me in the
right direction A little code would be nice but an explanation is just as
good. Thanks
a file into a data structure but dont know how. Here is an example file.
;File Example
;Created 03/04/99
[Command]
name = "2QCF_y"
command = ~D, DF, F, D, DF, F, y
[Command]
name = "5b"
command = b, b, b, b, b
time = 30
etc....
My question is if someone can help me to load any file (I know how to
open it) but then input it into a data structure where each case is
command = ......
My problem is making the data structure increase or decrease depending on
the number of commands. Can anyone help me with this by pointing me in the
right direction A little code would be nice but an explanation is just as
good. Thanks