Thread: where is the file?
code ompiling , executing no problem. cannot find file named "data.dat" in home directory. else be??
code:#include<stdio.h> int main() { file* fd = fopen("~/data.dat","w"); fprintf(fd,"he text;;;;;;;;;;;;\n"); fclose(fd); return 0; }
are running yourself?
can try these terminal commands locate file:
that should give location of file.code:sudo updatedb locate data.dat
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk where is the file?
Ubuntu
Comments
Post a Comment