prog.cpp: In function 'int main()':
prog.cpp:38:37: error: no matching function for call to 'DateString::GetDay()'
printf("Day 1: %d\n", date1.GetDay()); // Verwenden der Methode GetDay aus Klasse Date
^
prog.cpp:38:37: note: candidate is:
prog.cpp:30:6: note: int DateString::GetDay(int)
int GetDay(int xy) { return 0; } // Compiler error: no matching function
^
prog.cpp:30:6: note: candidate expects 1 argument, 0 provided
prog.cpp:39:37: error: no matching function for call to 'DateString::GetDay()'
printf("Day 2: %d\n", date2.GetDay());
^
prog.cpp:39:37: note: candidate is:
prog.cpp:30:6: note: int DateString::GetDay(int)
int GetDay(int xy) { return 0; } // Compiler error: no matching function
^
prog.cpp:30:6: note: candidate expects 1 argument, 0 provided