Page 1 of 1

C++ compiler

Posted: Sun Sep 02, 2012 11:52 pm
by finale00
Looking for a C++ compiler that I can carry around with me on a thumb-drive so I can code anywhere. Should be able to use on windows without having to install extra things.

Recommendations?

Re: C++ compiler

Posted: Mon Sep 03, 2012 2:26 am
by Dinoguy1000

Re: C++ compiler

Posted: Mon Sep 03, 2012 3:29 am
by finale00
I saw that one, but does it compile C++? It looks like it only does C.

Re: C++ compiler

Posted: Mon Sep 03, 2012 4:27 am
by Dinoguy1000
Aah, I somehow missed the "++". I don't know if it does handle C++, but it would surprise me if it did...

Re: C++ compiler

Posted: Mon Sep 03, 2012 5:30 am
by Acewell
A search for portable C++ compilers keeps leading me to Orwell DEV C++ Portable, have you tried this one yet?

http://sourceforge.net/projects/orwelld ... 0Releases/
http://orwelldevcpp.blogspot.com/
http://portableapps.com/node/32477


pocketcpp seems to be another viable option.

Re: C++ compiler

Posted: Mon Sep 03, 2012 10:06 pm
by GDL
sounds like a job for Eclipse and Mingw? :wink:

or maybe DevCpp :scaredy:

Re: C++ compiler

Posted: Tue Sep 04, 2012 2:54 am
by howfie
Mingw and eclipse are awesome if you don't mind not having the latest gcc. They are always more than a few versions behind. Also comes with Fortran and Ada if you want that aerospace job lol.

Re: C++ compiler

Posted: Tue Sep 04, 2012 3:06 am
by howfie
You could also install Linux on your flash drive and install a more recent gcc depending on the distro. I used to do this until fedora started using gnome 3. What the fuck were they thinking? That PC's should use tablet operating systems lol?

Re: C++ compiler

Posted: Tue Sep 04, 2012 3:13 am
by finale00
What's the difference between different versions of the compiler?
Is it something that someone that has barely ever touched C++ should be concerned with? lol

Re: C++ compiler

Posted: Tue Sep 04, 2012 3:32 am
by howfie
Features from the upcoming c++ draft standard are slowly being implemented by vendors. To get these features you must use latest version of any c++ compiler. Last I used mingw g++ I still had to write shared_array<object<int> > instead of shared_array<object<int>>. If you are fussy about latest features I wouldn't use mingw.

Re: C++ compiler

Posted: Tue Sep 04, 2012 3:57 am
by finale00
...spacing matters in certain place?
lol I thought it was just python that was crazy about white-space.

Re: C++ compiler

Posted: Tue Sep 04, 2012 4:29 am
by howfie
Yeah, ambiguity between bitwise right shift operator >> and nested template argument template<int x = 5 >> 2>. Standard has now said for years the extra space is not required but only latest gcc has this. But other than the lack of latest features mingw is awesome.

Re: C++ compiler

Posted: Tue Sep 04, 2012 10:11 pm
by GDL
You could switch to COBOL, everyone loves COBOL :mrgreen: