Category Archives: C/C++

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

Object-Oriented Structures in C

This is my second semester at DigiPen. We’re not allowed to build our game in C++ for this semester; instead, we can only use C. That means no function overloading, no polymorphism, no generics, and no operator overloading. However, this … Continue reading

Posted in C/C++, Gamedev | 4 Comments