C++ 生成exe文件

// Test01.cpp : 定义控制台应用程序的入口点。
//

#include "stdafx.h"
#include
using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
    cout<<"hi";
    system("Pause");
    return 0;
}

    Before the release version is generated, intermediate files and output files created during the earlier generation process need to be cleared to ensure that they are the final version.

C++ 生成exe文件_第1张图片

On the toolbar, change the generated configuration from Debug to Release.

Exe files can be found in the Release folder after successful generation.

C++ 生成exe文件_第2张图片

你可能感兴趣的:(C++ 生成exe文件)