I am testing some basic int member variable in my C++ class instance, turns out that even though the member is always 1 (initialized in constructor), what comes out at a call like object->myint
in the test case always comes out as 0. Why? My tests fail.
FWIW: Using Cocos2d-x 3.5
Aucun commentaire:
Enregistrer un commentaire