1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
date.cpp:2: error: âstd::coutâ has not been declared
date.cpp: In member function âvoid Date::SetMonth(int)â:
date.cpp:37: error: âmonthâ was not declared in this scope
date.cpp:39: error: expected â;â before â}â token
date.cpp: In member function âvoid Date::SetDay(int)â:
date.cpp:43: error: âdayâ was not declared in this scope
date.cpp:45: error: expected â;â before â}â token
date.cpp: In member function âvoid Date::SetYear(int)â:
date.cpp:49: error: âyearâ was not declared in this scope
date.cpp:51: error: expected â;â before â}â token
date.cpp: At global scope:
date.cpp:53: error: prototype for âvoid Date::PrintDate()â does not match any in class âDateâ
date.h:24: error: candidate is: void Date::PrintDate(int, int, int)
date.cpp:59: error: prototype for âvoid Date::ShowWithName()â does not match any in class âDateâ
date.h:25: error: candidate is: void Date::ShowWithName(int, int, int)
date.cpp:94: error: expected declaration before â}â token
testDate.cpp:8: error: expected initializer before âDateâ
testDate.cpp:10: error: expected constructor, destructor, or type conversion before â<<â token
testDate.cpp:12: error: expected constructor, destructor, or type conversion before â.â token
testDate.cpp:14: error: expected constructor, destructor, or type conversion before â<<â token
testDate.cpp:16: error: expected constructor, destructor, or type conversion before â<<â token
testDate.cpp:18: error: expected constructor, destructor, or type conversion before â.â token
testDate.cpp:20: error: expected constructor, destructor, or type conversion before â<<â token
testDate.cpp:22: error: expected constructor, destructor, or type conversion before â<<â token
testDate.cpp:24: error: expected constructor, destructor, or type conversion before â.â token
testDate.cpp:26: error: expected constructor, destructor, or type conversion before â<<â token
testDate.cpp:28: error: expected constructor, destructor, or type conversion before â<<â token
testDate.cpp:30: error: expected constructor, destructor, or type conversion before â.â token
testDate.cpp:32: error: expected constructor, destructor, or type conversion before â<<â token
testDate.cpp:34: error: expected constructor, destructor, or type conversion before â<<â token
testDate.cpp:36: error: expected constructor, destructor, or type conversion before â.â token
testDate.cpp:38: error: expected constructor, destructor, or type conversion before â.â token
testDate.cpp:40: error: expected unqualified-id before âreturnâ
testDate.cpp:42: error: expected declaration before â}â token
|