C++ 生成exe文件

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

#include "stdafx.h"
#include <iostream>
using namespace std;spa

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

    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.io

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

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