I'm trying to create a file in C, but it's not working. The operating system is Linux.
#include <stdio.h>
void main (FILE *file) {
file = fopen("/home/Documentos/teste.odt", "w");
fprintf(file, "alo\n");
fclose(file);
}
...
asked by
18.11.2014 / 00:08