It\'s not possible to do something like fputs(4, fptOut); because fputs doesn\'t like integers. How can I work around this?
fputs(4, fptOut);
Doing fputs(\"4\", fpt
fputs(\"4\", fpt
fprintf(fptOut, "%d", counter);