Question: Change this program: void schedule _ save ( ) { FILE * fileptr; fileptr = fopen ( course _ collection.txt , r
Change this program: void schedulesave
FILE fileptr;
fileptr fopencoursecollection.txtr;
if fileptr NULL
printfYou need to create the file to save first.
;
else
char line;
printfSubject number, credit & teacher
;
while fgetsline sizeofline fileptr
char index strtokline;
char subject index;
index strtokNULL;
int number atoiindex;
index strtokNULL;
int creditHours atoiindex;
index strtokNULL;
char teacher index;
printfstdtdts
subject, number, creditHours, teacher; print file
Make it so it loads the file and is named scheduleload
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
