CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #2
    Join Date
    Jul 2008
    Location
    Croatia
    Posts
    52

    Re: error LNK2019 unresolved external symbol

    You declared functions with
    Code:
    void Beginning(vector<string> *Hand);
    void DrawForKaiba(vector<string> *Hand);
    void MainPhase(vector<string> *Hand);
    but defined them with:
    Code:
    void Beginning(vector<string> &Hand)
    void DrawForKaiba(vector<string> &Hand)
    void MainPhase(vector<string> &Hand)
    Compiler is unable to find function you declared. You are declaring function with pointer as an argument and defined it as a reference.
    Last edited by Borg_ri; October 16th, 2011 at 12:58 PM.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured