Thursday, 15 July 2010

c++ - Errors LNK2019 and LNK 1120 -



c++ - Errors LNK2019 and LNK 1120 -

i maintain getting same error when seek compile programme (http://pastebin.com/tabk4bya). error says -

1>msvcrtd.lib(crtexe.obj) : error lnk2019: unresolved external symbol _main referenced in function ___tmaincrtstartup 1>c:\users\logan\documents\visual studio 2012\projects\assignment 09\debug\assignment 09.exe : fatal error lnk1120: 1 unresolved externals

i have tried search cannot seem find out problem is.

p.s. have pasted pastebin can see/point out lines error on. give thanks you!

you have

int main()

it should be

int main()

case matters! main not same main.

c++ visual-c++ compiler-errors

No comments:

Post a Comment