Displaying posts filed under

Computer Programming

May
24
2009

Callbacks, Threads and GUI

If you like this post, please visit our sponsors above. Thanks!

This article assumes that you have a working knowledge of C++ callbacks. Recently me and a friend encountered a situation where we had to show some data on dialog box that was generated inside of an independent thread. Sharing memory can be a good idea of passing a pointer to the dialog box. However, we [...]

May
24
2009

Callbacks C++

If you like this post, please visit our sponsors above. Thanks!

This tutorial assumes that the reader has a basic knowledge of C++ function pointers and pointers to class member functions.
Callback function
A callback function is a function whose pointer is passed to another function and and that function calls the first function using the pointer. When such a call is made, it is said that [...]

May
1
2009

Linked List: Tutorial I

If you like this post, please visit our sponsors above. Thanks!

Although linked lists sounds kind of scary, don’t worry they are really easy to use once you’ve got a little practice under your belt! Linked lists form the foundation of many data storing schemes in my game!
They are really nice when you don’t know how many of a data type you will need, and [...]