Skip to main content

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:
code:
sudo updatedb  locate data.dat
that should give location of file.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk where is the file?


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues