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

Search:

Type: Posts; User: zio_mangrovia

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    748

    Re: mask copy constructor

    I don't understand because main.cpp says:


    #include "compito.h"
    #include <iostream>
    using namespace std;


    Compito.h contains just both #include <iostream> and using namespace std;
    I...
  2. Replies
    7
    Views
    748

    Re: mask copy constructor

    I have another question about this code please.
    The "constructor" Anfiteatro::Anfiteatro(int), I could declare it as Anfiteatro::Anfiteatro(const int) because value which is passed to constructor is...
  3. Replies
    7
    Views
    748

    Re: mask copy constructor

    To make an example:

    If I defined "Anfiteatro dest=source",
    default copy constructor should to copy testa pointer content of source class object to testa pointer of dest class object,
    so...
  4. Replies
    7
    Views
    748

    mask copy constructor

    About this code, I'm not understanding because it has been defined this copy constructor
    "Anfiteatro(const Anfiteatro &)", I think to avoid to have similar events:
    Anfiteatro aa=a2;
    Compilator...
Results 1 to 4 of 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)