CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Feb 2011
    Posts
    1

    Extend generic class along with imported data

    I'm not exactly sure if the terminology I'm going to use is correct so bare with me.

    I have a generic equation and I want to create two specified instances. However I have data that is loaded and I want to be able to access it from both specified instances. I don't want to make a copy of the data for every new instance of the equation, I want to inherit it . I was thinking of creating a generic class and extending it but that doesn't solve the issue of loading the data. Does anyone have suggestions on how to accomplish this?


    I've attached a diagram of what I'm talking about
    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured