Sure. Use the FILE functions (fopen(), fgets() etc.)
It's time to buy a C-book. There are good references in the FAQ.
Note : Please don't ask anything here about C++. C++ *is not* C at all. Try
-ed- XXXX@XXXXX.COM [remove YOURBRA before answering me]
The C-language FAQ: http://www.yqcomputer.com/ ~scs/C-faq/top.html
FAQ de f.c.l.c : http://www.yqcomputer.com/ ~rumeau/fclc/