[Tutorial] Binary file I/O in PAWN
#6

Very nice, i never even thought you could make binary files in PAWN.

An SQLite database is just a binary file, so that proves how fast you can get data from large binary files. I attempted creating my own db system with bin files and failed miserably. Only way i could get it to work is by using intermediary files for each user, which was kind of pointless as i wanted all data in one file.

In C/C++ 'NULL' is equal to zero, if you mouse over 'NULL' in visual studio you will see it is simply:
Code:
#define NULL 0
Not sure if it's the same for Linux. Obviously that's not very relevant to PAWN but thought i'd just put that out there.

Will be interesting to see if someone releases a .bin userfile system and how it works.
Reply


Messages In This Thread
Binary file I/O in PAWN - by BigETI - 14.04.2013, 22:50
AW: Binary file I/O in PAWN - by IPrototypeI - 15.04.2013, 12:27
Re: Binary file I/O in PAWN - by Vince - 15.04.2013, 12:50
AW: Binary file I/O in PAWN - by BigETI - 15.04.2013, 14:00
Re: Binary file I/O in PAWN - by thefatshizms - 15.04.2013, 15:32
Re: Binary file I/O in PAWN - by iggy1 - 15.04.2013, 15:46
AW: Binary file I/O in PAWN - by BigETI - 15.04.2013, 19:38
Re: Binary file I/O in PAWN - by michaelcosyns - 18.04.2013, 18:50
Re: Binary file I/O in PAWN - by thefatshizms - 20.04.2013, 13:04
AW: Binary file I/O in PAWN - by BigETI - 20.04.2013, 20:50
Re: Binary file I/O in PAWN - by thefatshizms - 20.04.2013, 21:38
Re: Binary file I/O in PAWN - by ReneG - 21.04.2013, 00:59
Re: Binary file I/O in PAWN - by xeeZ - 20.07.2013, 17:36
AW: Binary file I/O in PAWN - by BigETI - 21.07.2013, 04:37
AW: Re: AW: Binary file I/O in PAWN - by BigETI - 21.07.2013, 14:34
AW: Binary file I/O in PAWN - by BigETI - 21.07.2013, 16:29
Re: Binary file I/O in PAWN - by Hitman-97- - 25.01.2014, 11:37
AW: Binary file I/O in PAWN - by Nero_3D - 25.01.2014, 12:49
AW: Binary file I/O in PAWN - by BigETI - 26.01.2014, 14:09
Re: Binary file I/O in PAWN - by Bombaci - 09.10.2018, 13:40

Forum Jump:


Users browsing this thread: 1 Guest(s)