Learning c++, need some help
Hi guys, I'm currently learning the basics of c++ and I need some help making an ASCII Rouglike game.
I was trying out, when some error showed which I can not understand. It would be awesome if some can tell me what's the problem.
The error:
error LNK2019: unresolved external symbol "class Level __cdecl level(void)" (?level@@YA?AVLevel@@XZ) referenced in function "public: __thiscall GameSystem::GameSystem(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> >)" (??0GameSystem@@QAE@V?$basic_string@DU?$char_trait s@D@std@@V?$allocator@D@2@@std@@0@Z) C:\Users\Szaby\documents\visual studio 2013\Projects\HardCore ASCRII Game\HardCore ASCRII Game\GameSystem.obj HardCore ASCRII Game
I have another error which I think is related to the first one.
Error 2: error LNK1120: 1 unresolved externals C:\Users\Szaby\documents\visual studio 2013\Projects\HardCore ASCRII Game\Debug\HardCore ASCRII Game.exe 1 1 HardCore ASCRII Game
Source:
main.cpp http://pastebin.com/6U9ad9Rh
player.cpp http://pastebin.com/9yuY5EL5
player.h http://pastebin.com/ZUX6cCv5
level.cpp http://pastebin.com/U5HEtPy9
level.h http://pastebin.com/11kyG0UB
GameSystem.cpp http://pastebin.com/h4irdq5n
GameSystem.h http://pastebin.com/EeuXYq1i
Every help/tip would be appreciated. Thank you.
I was trying out, when some error showed which I can not understand. It would be awesome if some can tell me what's the problem.
The error:
error LNK2019: unresolved external symbol "class Level __cdecl level(void)" (?level@@YA?AVLevel@@XZ) referenced in function "public: __thiscall GameSystem::GameSystem(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> >)" (??0GameSystem@@QAE@V?$basic_string@DU?$char_trait s@D@std@@V?$allocator@D@2@@std@@0@Z) C:\Users\Szaby\documents\visual studio 2013\Projects\HardCore ASCRII Game\HardCore ASCRII Game\GameSystem.obj HardCore ASCRII Game
I have another error which I think is related to the first one.
Error 2: error LNK1120: 1 unresolved externals C:\Users\Szaby\documents\visual studio 2013\Projects\HardCore ASCRII Game\Debug\HardCore ASCRII Game.exe 1 1 HardCore ASCRII Game
Source:
main.cpp http://pastebin.com/6U9ad9Rh
player.cpp http://pastebin.com/9yuY5EL5
player.h http://pastebin.com/ZUX6cCv5
level.cpp http://pastebin.com/U5HEtPy9
level.h http://pastebin.com/11kyG0UB
GameSystem.cpp http://pastebin.com/h4irdq5n
GameSystem.h http://pastebin.com/EeuXYq1i
Every help/tip would be appreciated. Thank you.


