N
N
NikitaWeb2018-09-17 07:05:38
C++ / C#
NikitaWeb, 2018-09-17 07:05:38

LINK2019 and LINK1120 how to solve?

I can not build the project, it constantly gives errors. How to fix?5b9f2810261bc369011776.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2018-09-17
@jcmvbkbc

Judging by the message, it wants _main instead of main. I suspect that the wrong application type is selected in the project - anything but console, and changing the application type to console will fix everything.
Either adding __cdecl: void __cdecl main().
And, yes, +1 to int maininstead of void main( Roman ).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question