locked
How to fix error LNK2001 unresolved external symbol _main RRS feed

  • Question

  • Hi,

    How to fix error LNK2001 unresolved external symbol _main??????????????????

    Build started...
    1>------ Build started: Project: Arithmetic Calculator, Configuration: Debug Win32 ------
    1>MyForm.cpp
    1>MyForm.obj : MSIL module encountered; incremental linking is disabled for MSIL; performing full link
    1>LINK : error LNK2001: unresolved external symbol _main
    1>C:\Users\admin\source\repos\Arithmetic Calculator\Debug\Arithmetic Calculator.exe : fatal error LNK1120: 1 unresolved externals
    1>Done building project "Arithmetic Calculator.vcxproj" -- FAILED.
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    I am getting this output??????

    Now what to do how to solve this??

    I have inserted my code also plz help me.




    Tuesday, November 17, 2020 10:54 AM

All replies