Imerion
February 23rd, 2007, 18:02
I just tried the latest Fenix-version which includes support for saving, but I cannot get it to work. The code which opens the file looks like this :
file=fopen("scorefile",O_READ);
if (file!=0)
fread(file,scores);
fclose(file);
end
And this writes to the file :
file=fopen("scorefile",O_WRITE);
if (file!=0)
fwrite(file,scores);
fclose(file);
end
Still, no file is saved. Is something more needed?
file=fopen("scorefile",O_READ);
if (file!=0)
fread(file,scores);
fclose(file);
end
And this writes to the file :
file=fopen("scorefile",O_WRITE);
if (file!=0)
fwrite(file,scores);
fclose(file);
end
Still, no file is saved. Is something more needed?