In C++ don't use malloc/calloc and free. Use new and delete. free/delete should be in the class destructor. The constructor(s) should set the pointer...
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.