![]() |
Add method
just a quick one i have to an object to a list, this complies but is it correct??
Code:
void MediaCatDb::add(const Entry& entry) |
Re: Add method
Looks like but we cannot be sure unless we see implementation of the used functions
|
Re: Add method
Well first of all here is the header file
Code:
class MediaCatDbCode:
void Menu::addEntry() |
Re: Add method
In entry class
Code:
Entry::Entry(const Media& media, const Entertainment& entertainment) |
Re: Add method
Media and entertainment objects are create like so
in the Entry header Media *_media; Entertainment *_entertainment; _meda = new Cdom; _entertainment = new Game; Cdrom and Game are classes |
Re: Add method
Oh and i found it not working so can anyone help me
|
Re: Add method
Can you explain as to what is not working. I could not get after going through all the post as to what is the structure of your code.
|
Re: Add method
solved
|
| All times are GMT +5.5. The time now is 06:43. |