16

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

Thanks

6 Answers 6

17

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

2
  • 1
    It's no longer in development. Sep 14, 2014 at 12:06
  • Still seems to work very well on < 2013 Windows systems for anyone wondering.
    – jake
    Jul 1, 2015 at 11:59
16

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.

5

Digital Mars C and C++ compiler

1
3

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

0
1

I personally prefer the Portable C Compiler

Windows download: here

0

You can use DevCpp

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

It supports C, and C++

1
  • 3
    DevCpp isn't updated since 3 years and I think it uses a very old version of gcc. I'd take a newer version of gcc directly.
    – DerKuchen
    Sep 4, 2010 at 20:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.