Unresolved External Symbol - How to fix?

前端 未结 4 407
故里飘歌
故里飘歌 2021-01-21 12:48

I\'m pretty new to programming. I have run into this error that I can\'t figure out. You should be able to put in a score and it will use the information that is pre put in the

4条回答
  •  日久生厌
    2021-01-21 13:14

    It appears you have declared your function

    void checkScore( int scores[], int storage[]);
    

    but not actually defined it (giving it a function-body). Define your function like

    void checkScore( int scores[], int storage[]){
    
    }
    

    to make this error go away.

提交回复
热议问题