Hi again
If I really want to get rid of garbage value, then I would simply do this:. To me, as a beginner,Code:public: B() : pubdataB(0) {/*empty body*/}would make sense when pubdataA is a static member.Code:pubdataB(A::pubdataA)
Thank you.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 14 of 14
Threaded View
|
Click Here to Expand Forum to Full Width |