Hello,

For easy to use I've uploaded the code as a zip. Basically it compiles but everytime I push something onto the linklist, it doesnt want to go. I know this since when i get to the print function it prints '15' '15'. instead of the date objects defined in main.

could you have a look and highlight any changes?

Cheers,

Date::Date()
{
	day = 15;
	month = 03;
	year = 4;
}

Date::Date(int d, int m, int y)
{
	day = d;
	month = m;
	year = y;
}

->

Date(int d = 15, int m = 3, int y = 5)
//...
Date::Date(int d, int m, int y) : day(d), month(m), year(y)
{
}

03 is octal, although in this case it doesn't matter.