I find that when i choose option of
Project->Properties->Linker->System->SubSystem->Console(/subsystem:console),
and then make sure include
the function :
int _tmain(int argc,_TCHAR* argv[]){return 0}
all of the compiling ,linking and running will be ok;