D
David Sharp
Hi,
I am trying to write a routine which opens a file, reads a line and
splits the line in two, each of the two words per line going into
different variables. For example:
The line in the file reads :
MOVB,12
MOVB is placed in the variable 'char *operand'.
12 is placed in the variable 'char variable'
I have tried many things but keep messing up!
Any ideas?
Thanks
David Sharp
I am trying to write a routine which opens a file, reads a line and
splits the line in two, each of the two words per line going into
different variables. For example:
The line in the file reads :
MOVB,12
MOVB is placed in the variable 'char *operand'.
12 is placed in the variable 'char variable'
I have tried many things but keep messing up!
Any ideas?
Thanks
David Sharp