Welcome~~~


Another blog:
http://fun-st.blogspot.com/

It is easier to write an incorrect program than understand a correct one.

Thursday, February 24, 2011

Use Visual C++ for simple C++ coding

When runing the VC++08, for a very simple program, we got the linking error as:

MSVCRTD.lib(crtexe.obj) : error LNK2019: reference to the unresolved external symbol _main in the function ___tmainCRTStartup

We first use the way that generate the win32 console application, so we change to generate the "Empty Project"
then there is no problem. 


Below are the procedures that
--> how to use Visual C++ to start a simple C/C++ code.  





Note that, I just want to test some C++ programs, typically for algorithm, not the big application project. 
--


♥ ¸¸.•*¨*•♫♪♪♫•*¨*•.¸¸♥

1 comment: