Unnamed
public text v1 · immutable#include <stdio.h>
void main ()
{
FILE *f;
if (f=fopen("//alpha.txt","w")== NULL)
printf("impossible d'ouvrir le fichier\n");
else
{
char c;
for(c='A';c<='Z';c++)
{
fputc(c,f);
fputc("\n",f);
}
fclose(f);
}
getchar();getchar();
}