Writing To External Files
Lesson 29Author : 🦒
Last Updated : November, 2017
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);