|
Blog | Tags | Archives | Projects | Search | Stats | Contact
Tags: C, Memory, Windows
It’s a common practice not to check what malloc() or new returns, since in an ideal world you will never run out of memory and so allocating memory will never fail. With a reasonably sized page file that is mostly true. When using a page file, this wouldn’t be a problem since if there is [...]
Read more...
Tags: C, Libraries, Programming, XML
While looking for a convenient way for storing some level data for a game I’m working on (more of that later), I came across this small C++ XML parser. Originally, I wanted to stay away from XML or other formats as they are overkill for the simple game format. However, this parser is both small (the Xerces parser is over 50 megabytes!) and easy to use.
Read more...
Tags: C, Introduction, Pointers, Tutorial
This is my attempt at demystifying pointers, a very useful concept available in C, C++ and other programming languages that do not lack balls. This is a living tutorial, i.e. you can suggest things and I’ll make it better. I’m all for a good pointer tutorial.
Read more...
|