按任意键继续 [vs2010] 在Projects->Properties->Linker->System->SubSystem 把Not set设置为 Console 然后运行“Ctrl+F5“即可。