Miscellany
public text v1 · immutable#include <stdio.h>
int main ()
{
FILE *f;
if (f=fopen("//alpha.txt","w")== NULL)
printf("impossible d'ouvrir le fichier\n");
else
{
int i;
char alpha[] = "abcdefghijklmnopqrstuvwxyz"; for (i = 0; alpha[i]; i++) fputc(alpha[i], f);
}
fclose(f);
getchar();getchar();
}