Search
Follow Me
Categories
Archives
Meta
Feeds
Monthly Archives: April 2012
Signal System using Delegates
I introduced how to build your own C++ delegates in the previous post. Now I’m going to show you the first practical (and probably the most common) usage of delegates: signal/event systems. To clarify the terminology, the mapping between the … Continue reading
Posted in C/C++
3 Comments
Easy C++ Delegates
As I mentioned in my previous post, I was working on delegates for C++. The first article I read was recommended by one of my programming TAs. The author’s main concern was portability and performance, so he special-cased extensively throughout … Continue reading
Posted in C/C++, Design Patterns, Programming
4 Comments
Function Pointers vs Member Function Pointers
My second semester at DigiPen has almost come to an end. For the project of this semester, we are required to write our code in strict C, no fancy C++ stuff like generics and polymorphism. In order to get around … Continue reading
Posted in C/C++
4 Comments