为什么这段代码编译、连接都很正常,也显示没有错误,但是单击执行按钮,却没有什么反应呢?就是不弹出执行框。我用的创天Visual C++6.0编译器。代码如下:
// Project1.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include<iostream>
#include<fstream>
#include<iomanip>
using namespace std;
int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine, int nCmdShow)
{
// TODO: Place code here.
cout<<"I shou le."<<endl;
return 0;
}
// Project1.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include<iostream>
#include<fstream>
#include<iomanip>
using namespace std;
int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine, int nCmdShow)
{
// TODO: Place code here.
cout<<"I shou le."<<endl;
return 0;
}