//::AllocConsole();//打开控件台资源//freopen("CONOUT$", "w", stdout);//FreeConsole();//释放控制台资源 //完成后释放中间用printf或者 std::cout都可以打印