Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~411 People Reached
Favorite Forums
Favorite Tags
c++ x 11
Member Avatar for michdd

I'm getting this error: [CODE]error: no matching function for call to 'cp::cpImageButton::SetMouseClickCallback(TitleScreen* const, void (TitleScreen::*)())'| note: candidates are: void cp::cpImageButton::SetMouseClickCallback(DisplayObjectContainer*, void (DisplayObjectContainer::*)())|[/CODE] However, TitleScreen inherits from DisplayObjectContainer, so I'm unsure why this isn't working. I haven't really worked with inheritance in C++ much, so a push in the right direction …

Member Avatar for mike_2000_17
0
147
Member Avatar for michdd

I'm trying to create some type of callback system for events. I have a function where I'm attempting to set a member to a pointer to a function but I'm receiving an error. This is what I attempted to do: [CODE]void (MyClass::*test)() = &MyClass::TestCallback; EnterButton->SetCallback(test);[/CODE] And then in the class …

Member Avatar for mike_2000_17
0
185
Member Avatar for michdd

I have a question about how to clean up certain thing, or if it's even necessary at all. Say I have a vector of objects. These objects have members that are pointers. When I remove one of these objects from the vector will everything be cleaned up automatically? Or do …

Member Avatar for mrnutty
0
79