kunrocket
07-31-2006, 09:41 AM
I am new in programming (very new). I am now trying to build one of the NR in visual c++ 2005 express edition for a univesity lecture. I am making a win32 console application. The compiler however gives me an external error of the following form:
MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
C:\SDP\Debug\SDP.exe : fatal error LNK1120: 1 unresolved externals
I just simply put the files *.cpp and *.h files in the program exactly as show in the NR book.
Can one someone please give me a hand with this?
Should I include other "*.h" file?
Thanks
KR
MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
C:\SDP\Debug\SDP.exe : fatal error LNK1120: 1 unresolved externals
I just simply put the files *.cpp and *.h files in the program exactly as show in the NR book.
Can one someone please give me a hand with this?
Should I include other "*.h" file?
Thanks
KR