I've been trying to make a map loader which reads bytes from a file and uses that info for rendering the map(Using OpenGL). I thought reading each byte through fgetc() and then using those values directly would do the trick. But it didn't, partly because something is wrong with my code, so that I cannot get the size of the file I wish to read from, and therefore I cannot read the whole map file. I also have a rendering bug, which I am, from lack of any other screenshot, going to post here.
I'll probably end up rewriting the whole thing.
Additionally, _stat is useful basically whenever you're working with files in matters other than simple read/write operations. Like for making a virtual file system or whatever. Hur hur :3