Writing To External Files
Lesson 29Author : GOUP
Last Updated : September, 2020
Code
FILE * fpointer = fopen("employees.txt", "w"); // also try "a" for append
fprint(fpointer, "employee");
fclose(fpointer);
FILE * fpointer = fopen("employees.txt", "w"); // also try "a" for append
fprint(fpointer, "employee");
fclose(fpointer);