help me with this code
#2

when you open a file you should use the File: tag

pawn Код:
new File:myFile = fopen(name,io_append);
fwrite(myFile,"hello");
fclose(myFile);
instead of passing a file handle you pass a string, which is incorrect and can lead to undefined behaviour.

You can find more about files here.
Reply


Messages In This Thread
help me with this code - by akki - 14.03.2013, 08:42
Re: help me with this code - by Gamer_Z - 14.03.2013, 09:09
Re: help me with this code - by akki - 14.03.2013, 09:11

Forum Jump:


Users browsing this thread: 1 Guest(s)