Sabtu, 17 April 2010

Cpp file2


#include

int main(){

FILE *file_cek;

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

if( file_cek != NULL){

printf("file Latihan.txt sudah ada");

fclose(file_cek);

}

else{

printf("file Latihan.txt belum ada");

}

return 0;

}