Character manipulation (and parsing) is what you need to learn as well as file i/o handling.
Check for a Carrja's tutorial on basic file i/o.
Check any book/tutorial on using the "char" keyword as well as a a few basic manipulators as defined in <string.h>.
Learn the for loop too.
And off you go
- Val -