Sabtu, 17 April 2010

Cpp file4

#include



int main(){

FILE *f;

f = fopen("Latihan.txt","r");

char str[100];

fgets(str, 100, f);


printf("isi file : %s\n", str);

fclose(f);

return 0;

}