Can someone help me, I am learning C Program and I missed class and my teacher is not a very good teacher, (he keeps forgetting what he is talking about during class). Anyway, I am trying to write a program that does the following, that includes fopen(), fclose(), and fprintf(). I can not seem to getting working right. Please help
1. Create a text file containing the following text. “Now is the time for all good men to come to the aid of their country.”
2. Write a C program to open this file, read the contents, and print it to the screen. Incorporate a test to print out the message “No such file found” if the file does not exist.
3. Submit the source file and an executable named “readfile”.



LinkBack URL
About LinkBacks



CornedBee