printing txt file

Hi,
I have a problem here. I want to print characters of a text file on the console. I open a file using fopen(). But how to print???
and also, the pointer returned by fopen() points to what??? to first character of the txt file???
Use fread().

Nothing you should care about, it is a layer of abstraction. You just pass it to fread()/fwrite() and it deals with it for you.
But fread() returns me number of characters read, as an integer???
Topic archived. No new replies allowed.