All pastes #469526 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-05-03 19:53 UTC
rendered paste body
#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();
}