#include char buff[80]; main() { FILE *fp; fp = fopen(__FILE__,"r"); while( !feof(fp) ) { printf("%s",fgets(buff,79,fp)); } fclose(fp); }