Blackjack Help!-VBForums
Results 1 to 2 of 2

Thread: Blackjack Help!

  1. #1

    Thread Starter
    Junior Member Gwen203's Avatar
    Join Date
    Nov 2008
    Location
    Danville, IN
    Posts
    31

    Exclamation Blackjack Help!

    Well i was making a blackjack game and i got this error

    Code:
     Linking...
    Blackjack.obj : error LNK2019: unresolved external symbol "void __cdecl whoWins(int,int)" (?whoWins@@YAXHH@Z) referenced in function _main
    Blackjack.obj : error LNK2019: unresolved external symbol "void __cdecl announceResult(bool,int)" (?announceResult@@YAX_NH@Z) referenced in function _main
    Blackjack.obj : error LNK2019: unresolved external symbol "void __cdecl announceHand(int)" (?announceHand@@YAXH@Z) referenced in function "int __cdecl drawAndAddCardToHand(int,bool &)" (?drawAndAddCardToHand@@YAHHAA_N@Z)
    Blackjack.obj : error LNK2019: unresolved external symbol "void __cdecl announceCard(int)" (?announceCard@@YAXH@Z) referenced in function "int __cdecl drawAndAddCardToHand(int,bool &)" (?drawAndAddCardToHand@@YAHHAA_N@Z)
    C:\Documents and Settings\user\Desktop\Blackjack\Debug\Blackjack.exe : fatal error LNK1120: 4 unresolved externals
    Build log was saved at "file://c:\Documents and Settings\user\Desktop\Blackjack\Blackjack\Debug\BuildLog.htm"
    Blackjack - 5 error(s), 0 warning(s)
    Any help would be great!
    if you have any questions about this game ask!

  2. #2
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276

    Re: Blackjack Help!

    You aren't linking to correct libraries.

    I assume you're using Visual Studio >= 2005 ? so just go to Project -> [app name] Properties -> Configuration Properties -> Linker -> Input -> Additional Dependencies

    where you specify the additional libraries to link to.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.