C语言 是否有适用于 Windows 的便携式 C 编译器?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3643580/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-02 06:22:40  来源:igfitidea点击:

Is there a portable C compiler for windows?

cwindowscompiler-constructionportability

提问by saint

I want to carry one in my flash drive and run it.

我想在我的闪存驱动器中携带一个并运行它。

Thanks

谢谢

回答by bk1e

TCC (Tiny C Compiler)fits on a floppy and does not require installation.

TCC (Tiny C Compiler) 可以放在软盘上,不需要安装。

回答by linuxuser27

MinGWis a pretty good one and can be easily copied to a flash drive. Admittedly this is a port of GCC, but it works well in Windows. A drawback of this compiler is that it does not understand some of the specific Microsoft keywordsthat can be used when compiling with cl.exe.

MinGW是一款相当不错的产品,可以轻松复制到闪存驱动器中。诚然,这是 GCC 的一个端口,但它在 Windows 中运行良好。此编译器的一个缺点是它不理解某些特定的 Microsoft关键字,这些关键字在使用cl.exe.

回答by Fotic

You can Try if u want Pocket C++(its portable) the interface is from Notepad++and is very easy and friendly for use: https://github.com/dacap/pocketcpp

如果你想要Pocket C++(它的便携版),你可以试试,界面来自Notepad++,使用起来非常简单友好:https: //github.com/dacap/pocketcpp

回答by nullman

I personally prefer the Portable C Compiler

我个人更喜欢便携式 C 编译器

Windows download: here

Windows 下载:这里

回答by Esselans

You can use DevCpp

您可以使用 DevCpp

https://sourceforge.net/projects/orwelldevcpp/

https://sourceforge.net/projects/orwelldevcpp/

It supports C, and C++

它支持 C 和 C++