Category Archives: C++

Hiding implementation in C++

Let’s say you’re designing a C++ API. ¬†You have some class like this, which is part of your interface : #include “MyData.h” class Sound { public: Sound(); ~Sound(); void play(); private: MyData m_data; }; Since the class MyData is a … Continue reading

Posted in C++ | Leave a comment

C++ development on iOS and Android

The basic interface for the Cricket engine is C++, as is most of the implementation. ¬†Objective-C is the primary development language on iOS, and Java is the preferred language on Android, but both platforms support C++ also; C++ code can … Continue reading

Posted in Android, C++, iOS | Leave a comment