如何使用任何编程语言制作可执行文件并运行它? [英] How to make executable fil form/in any programming language and run it ?

查看:111
本文介绍了如何使用任何编程语言制作可执行文件并运行它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何在计算机中创建exe文件以及从c ++或简单c语言制作exe文件的步骤是什么。 ?

I want to know that how to make exe file in computer and what are the steps to make the exe file from the c++ or simple c language. ?

推荐答案

问题不太明确。



从C或C ++制作可执行文件源代码,你需要构建它。该过程使用编译器然后链接器

http://en.wikipedia.org/wiki/Compiler [ ^ ],

http://en.wikipedia.org/wiki/ Linker_%28computing%29 [ ^ ]。



如果你想在C或C ++应用程序的运行期间直接生成一个可执行文件(你真正想要的是从问题中看不清楚),请看我过去的回答:

如何在C#中制作一个简单的EXE生成器 [ ^ ] 。



-SA
The question is not quite clear.

To make an executable file from C or C++ source code, you need to build it. The procedure uses compiler and then linker:
http://en.wikipedia.org/wiki/Compiler[^],
http://en.wikipedia.org/wiki/Linker_%28computing%29[^].

If you rather want to generate an executable file directly during runtime of your C or C++ application (what you really want is not clear from the question), please see my past answer:
How to make a simple EXE generator in C#[^].

—SA


这篇关于如何使用任何编程语言制作可执行文件并运行它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆