HomeLatest ThreadsGreatest ThreadsForums & GroupsMy SubscriptionsMy Posts
DU Home » Latest Threads » Forums & Groups » Topics » Computers & Internet » Website, DB, & Software Developers (Group) » Can anyone recommend a go...

Wed Apr 14, 2021, 06:01 PM

Can anyone recommend a good C++ compiler to download for free?

I've been thinking about teaching myself C++ (don't worry, I have a BS in computer science and I can read and understand most C++ code), but I need a decent compiler and I don't have piles of money to spend on it.

Any recommendations on the best book to learn from are appreciated as well.

Thanks in advance!

6 replies, 2288 views

Reply to this thread

Back to top Alert abuse

Always highlight: 10 newest replies | Replies posted after I mark a forum
Replies to this discussion thread
Arrow 6 replies Author Time Post
Reply Can anyone recommend a good C++ compiler to download for free? (Original post)
Leith Apr 2021 OP
lapfog_1 Apr 2021 #1
RavioliMan Apr 2021 #2
Shermann Apr 2021 #5
Pobeka Apr 2021 #3
drray23 Apr 2021 #4
CloudWatcher Apr 2021 #6

Response to Leith (Original post)

Wed Apr 14, 2021, 06:08 PM

1. my solution

g++ on a Linux machine... buy a raspberry pi for teaching yourself

Reply to this post

Back to top Alert abuse Link here Permalink


Response to Leith (Original post)

Wed Apr 14, 2021, 06:10 PM

2. gcc and clang are excellent and widely available

I do most work on a Mac, so clang is the default there.

On Windows, I install GCC g++ via cygwin which is a UNIX-like environment that will provide a nice command-line interface to many things including compilers.

There is also the free Eclipse IDE which works across all of the above. I prefer command line.

Reply to this post

Back to top Alert abuse Link here Permalink


Response to RavioliMan (Reply #2)

Wed Apr 14, 2021, 08:22 PM

5. I'm currently migrating from GCC to clang. Clang is next generation tech so I'd give it the edge nt

Reply to this post

Back to top Alert abuse Link here Permalink


Response to Leith (Original post)

Wed Apr 14, 2021, 06:10 PM

3. look up cygwin/g++. Free and better than MS compiler for windows.

It was far better at producing reliable code (math intensive, optimization algorithms) when we benchmarked it about 8 years ago now. I assume it's still going strong.

Reply to this post

Back to top Alert abuse Link here Permalink


Response to Pobeka (Reply #3)

Wed Apr 14, 2021, 07:33 PM

4. I would definitely second that.nt.

Reply to this post

Back to top Alert abuse Link here Permalink


Response to Leith (Original post)

Tue Apr 20, 2021, 10:20 PM

6. Forget C++

Naw, forget C++, learn Python instead! I'm only 1/2 kidding, C++ is almost a historical language now.

And you kinda forgot to mention what platform you'll be using. If you've got a spare HDMI monitor and USB keyboard/mouse, then a Raspberry Pi can be a lot of fun (and runs Pi-hole too). If you've got any Linux box, then the compiler comes with it. If you've got a Mac, then Xcode is free (and omg learn Swift!). If you've got a Windows machine ... well, good luck!

Reply to this post

Back to top Alert abuse Link here Permalink

Reply to this thread