Language: C++ (QT)AccountList<Account*> list; /* Setup a new Account object called account, for example. Account *account = new Account(); */ list << account;
Language: C++ (QT)class Account { public: Account(); // default constructor Account(Account const &other); // copy constructor Account &operator=(Account const &other); // assignment operator overload // ... };
Click here to login