Home » questions » C Program Project?
C Program Project?
Can someone help me, I am learning C Program on my own and 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â€.
The project has to be in C Programming not C++. The web site you suggest is for C++

Answers
Steve S
On 2006-08-07 10:25:17
sheeple_rancher
On 2006-08-07 12:24:57
kratika
On 2006-08-07 10:38:57