Hello All:
I am new to C and I have a program design question. Not only am I trying
to learn C but I'm also trying to pick up good habits. And I'm cocerned
with doing things the right and avoiding picking up bad habits.
The program I'm working on uses popen to read some pre-formatted output
from another program. The output looks like this.
line 0: persons_name
line 1: persons_last_na me
line 2: .....
I then need to take each line assign it to a structure member. What
would be the simplest approach to find the member field from the line
loop count?
Michael Rosset
Comment