I'd like to have a class (atoms), where each instance maintains a list of other instances as a data member (a list of bonded atoms). Is this possible? I just tried writing it up as if it were and I got an error in the constructor.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Thread: self containing classes?Threaded View
|
Click Here to Expand Forum to Full Width |