Difference between revisions of "Talk:Esercizi a caso del Prof."
		
		
		
		
		
		Jump to navigation
		Jump to search
		
			
		
		
	
|  (esercizio codice sorgente) | 
| (No difference) | 
Revision as of 20:48, 28 October 2013
//questo e' un tentativo che funziona
//Stefano Bernagozzi
#include <stdio.h>
void main(void){
  char c[] = __FILE__;
  FILE *f;
  if (f=fopen(c, "r")){
    while ((c[0]=getc(f))!=EOF)
      printf("%c", c[0]);
    fclose(f);
  }
}