I got error program In Basic file handling topic

When am trying to compile the code in LINUX , The program got error all the time , In the topic of Basic file handling.
Please let me know how to solve the problem.