Sweet, thank you so much, this is much easier than I was making it out to be.
Type: Posts; User: Otto45
Sweet, thank you so much, this is much easier than I was making it out to be.
By four separate goes, do you mean call sscanf four different times with my different formats? Then only one will work correctly depending on the format of that line correct?
For a project, I have to read in input from a file, but the tricky part is that each line could have one of four formats:
"char long char string int float"
"char long string"
"char long string...