Well first of all here is the header file

Code:
class MediaCatDb
{
	typedef list<Entry> Container;
	Container _entries;

public:
	typedef Container::iterator iterator;
	typedef Container::const_iterator const_iterator;
I have a funciton in a menu that allows me to do that

Code:
void Menu::addEntry()
{
	
	cout << "Create entry and add to database....." << endl << endl;	

	Entry entry;
	entry.read();

	if(entry.isValid())
	{
		_mediaCatDb.add(entry);
	}

			
}