Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BITMAP* myBitmap;
- void doSomthing();
- class testClass{
- public:
- testClass();
- BITMAP* memberBitmap;
- protected:
- void setBitamp(BITMAP* temp){memberBitmap = temp;}
- BITMAP* getBitmap(void){return memberBitmap;}
- }
- testClass C;
- void main{
- myBitmap = load_bitmap();
- testClass C;
- }
- void doSomething()
- {
- C.setBitmap(myBitmap); // C underclared (first use this function)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement