0xdeadbeef
0xdeadbeef

Reputation: 4140

Is there a portable C compiler for windows?

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

Upvotes: 15

Views: 56698

Answers (6)

Esselans
Esselans

Reputation: 1546

You can use DevCpp

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

It supports C, and C++

Upvotes: 0

nullman
nullman

Reputation: 21

I personally prefer the Portable C Compiler

Windows download: here

Upvotes: 1

Fotic
Fotic

Reputation: 321

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

Upvotes: 3

bk1e
bk1e

Reputation: 24328

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

Upvotes: 17

celavek
celavek

Reputation: 5705

Digital Mars C and C++ compiler

Upvotes: 5

linuxuser27
linuxuser27

Reputation: 7353

MinGW is 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 keywords that can be used when compiling with cl.exe.

Upvotes: 15

Related Questions