dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: zio_mangrovia

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,144

    Re: define operator assignment

    OK, It's good explanation!
    So If I have exercise where I have to define class which uses dynamic memory and exercise doesn't request to create operator = (or equivalent, e.g. +=) or to define...
  2. Replies
    5
    Views
    1,144

    define operator assignment

    With this following code:


    void Display::alloca(){
    p = new bool*[N];
    for (int r=0; r<N; r++)
    p[r] = new bool[N];
    }

    void Display::dealloca(){
Results 1 to 2 of 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)