LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup

前端 未结 12 2020
广开言路
广开言路 2020-12-02 18:36

I have the following error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup,

There are a lot of threads relating to this error bu

12条回答
  •  借酒劲吻你
    2020-12-02 19:16

    I had the problem before, but it was solved. The main problem was that I mistakenly spell the int main() function. Instead of writing int main() I wrote int mian()....Cheers !

提交回复
热议问题