Quote:
Originally Posted by sirama View Post
Some piece of code is required for somebody to help you. You will not satisfy if a person replies "Check the fopen function".
thank you. i figured out the fault. my file pointer was null and i was trying to close it