int putc ( int character, FILE * stream );
123456789101112131415
/* putc example: alphabet writer */ #include <stdio.h> int main () { FILE * pFile; char c; pFile=fopen("alphabet.txt","wt"); for (c = 'A' ; c <= 'Z' ; c++) { putc (c , pFile); } fclose (pFile); return 0; }