Tentativo
Revision as of 03:23, 26 October 2013 by Patti (talk | contribs) (Created page with "<syntaxhighlight lang="csharp"> →funziona solo se il nome del programma e' quello in fopen: #include <stdio.h> int main(void){ char c; FILE *f; if (f=fopen("questo.c", ...")
/* funziona solo se il nome del programma e' quello in fopen */
#include <stdio.h>
int main(void){
char c;
FILE *f;
if (f=fopen("questo.c", "r")){
while ((c=getc(f))!=EOF)
printf("%c", c);
fclose(f);
}
return 0;
}