![]() Preserved Topic: C++ question (Page 1 of 1) |
|
---|---|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() I have a Transformation class that uses my Vector class (not to be confused with STL vector) as a private member variable. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() Usually this would be done with some sort of inheiritence |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() No, they don't inherit from each other, they just happen to use each other. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() I figured it out. It's too complicated to explain, but basically my explanation of the problem was oversimplified, so don't worry about it. =) |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() no, damnit!! |
Maniac (V) Mad Scientist From: New California |
![]() I would have liked to hear the details but I'm sure you're busy getting whatever it is to work. Maybe some other time. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Well, essentially, you just #include the vector class from the transformation class. I didn't *think* that was working because there was another similar error related to trying to access private member variables. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |