fwrite(file [Add 1]??
#8

Quote:
Originally Posted by Sascha
Посмотреть сообщение
either use some dini system or whatever or something like that:
pawn Код:
new tmp[10];
new File:myfile = fopen("yourfile.txt", io_readwrite);
fread(myfile, tmp);
format(tmp, sizeof(tmp), "%d", strval(tmp) + 1);
fwrite(myfile, tmp);
fclose(myfile);
although this might be the least efficient way
well I wrote this already
Reply


Messages In This Thread
fwrite(file [Add 1]?? - by kevannkw - 22.03.2015, 19:48
AW: fwrite(file [Add 1]?? - by Sascha - 22.03.2015, 19:53
Re: fwrite(file [Add 1]?? - by BleverCastard - 22.03.2015, 19:53
Re: fwrite(file [Add 1]?? - by kevannkw - 22.03.2015, 19:54
AW: Re: fwrite(file [Add 1]?? - by Sascha - 22.03.2015, 20:00
Re: fwrite(file [Add 1]?? - by Abagail - 22.03.2015, 20:10
Re: fwrite(file [Add 1]?? - by kevannkw - 22.03.2015, 20:22
AW: fwrite(file [Add 1]?? - by Sascha - 22.03.2015, 20:23

Forum Jump:


Users browsing this thread: 2 Guest(s)