Ok, so I'm making this BlackJack game, and it uses strings, and when I use a "cout << stringGoesHere" I get the following error:
What's up with that? I #included <string> and I'm running VC++.Code:Linking... BJMain.obj : error LNK2001: unresolved external symbol "public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl PlayingCard::formatCard(int)" (?formatCard@PlayingCard@@SA?AV?$basic_string@DU?$ch ar_traits@D@std@@V?$allocator@D@2@@std@@H@Z) Debug/BlackJack.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. BlackJack.exe - 2 error(s), 0 warning(s)



LinkBack URL
About LinkBacks


