1 2 3 4 5 6 7 8 9 10 11
|
1
|
1>Compiling...
1>mainfunc.cpp
1>Linking...
1>mainfunc.obj : error LNK2019: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall Shape::toString(void)" (?toString@Shape@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function _main
1>mainfunc.obj : error LNK2019: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall Shape::getColor(void)" (?getColor@Shape@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function _main
1>mainfunc.obj : error LNK2019: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall Shape::getLine(void)" (?getLine@Shape@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function _main
1>mainfunc.obj : error LNK2019: unresolved external symbol "public: __thiscall Shape::Shape(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0Shape@@QAE@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z) referenced in function "public: __thiscall Circle::Circle(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double)" (??0Circle@@QAE@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0N@Z)
1>"path" : fatal error LNK1120: 4 unresolved externals
1>Build log was saved at "..."
1>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |