Type: Posts; User: std10093
Take a look at fread . It will return NULL when it reads out the file....