[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

C++ compiler recommendation

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 43
Thread images: 5

File: jew dance.gif (985KB, 440x247px) Image search: [Google]
jew dance.gif
985KB, 440x247px
As the title states, I've been trying to teach myself a bit of C++ and I'm unsure which compiler to use. Any recommendations?
>>
>>60313013
gentoo
>>
>>60313304
Would prefer if someone under 400 pounds would chime in.
>>
What OS are you on? gcc, clang, Visual Studio Express are all good. One of the best things about C++ is that you can write standard programs that don't depend on a particular compiler.
>>
>>60313382
I forgot to mention I'm on Win7. Thank you for your advice. Previously I tried something called Bloodshed DevC++, and while I really liked the user interface, it didn't seem compatible with the standard 11 (or whatever it's called) functionalities mentioned in the book I read. Even when I added the -line for the updated functionality, there were still some errors.
>>
>>60313595
Install mingw and use g++
>>
>>60313671
Will give it a try, thanks.
>>
gcc

>>60313349
115 gentoo user reporting in
>>
>>60313595
>devc++
christ, why
>>
>>60314146
I really like the UI. Checked out the mingw thing and it seems to be nothing but a command prompt, which is useless to me.
>>
>>60314265
What, why do you need a gui for a compiler?
>>
File: 470063.png (271KB, 452x446px) Image search: [Google]
470063.png
271KB, 452x446px
>>60313013
use clang
>free
>open source
>multiplatform
>nvidia cuda API's use it
>mac os uses it
>ios uses it
>playstation 4 uses it
>has very good error descriptions
>very good support for newer standars
>fast as fuck
>>
>>60314310
also BSD uses it too
>>
do you have something against Visual Studio?
>>
>>60314310
not OP, but I'll try that out. thanks!
>>
>>60313013
clang.
gcc is total shit.
>>
>>60314265
devc++ is an IDE, as in a whole tool that gives you an editor, checks your code, lets you manage a project and also builds your project via a compiler.
A compiler is just a part of it, so you should be able to make devc++ use mingw
>>
>>60313013
Clang or GCC. Don't know for LLVM
Fuck ICC
>>
File: sad.jpg (36KB, 657x527px) Image search: [Google]
sad.jpg
36KB, 657x527px
>>60314402
Well, my bad then, IDE is what I'm actually looking for then, devc++ came up when I googled a compiler, thus I assumed a compiler is actually the what're you describing as IDE. Didn't realize compiler is merely the thing that takes code.cpp and turns it into a program.

What's /g/'s IDE of choice then?
>>
>>60313013
Yeah, everyone pointed it out already, but what you're looking for is an IDE, not a compiler.
>>
>>60314436
mine is code blocks
>>
>>60314310
>fast as fuck
Only for compilation
for object optimization gcc is miles ahead.
>>
>>60314436
for c++? QtCreator is legit.

its lightweight, and nothing beats its code completion engine, not VS not nothing.

also runs in every major OS, and once you start using its ctrl+K feature you will have a great difficulty in going back to other editors.
>>
>>60314413
Clang is llvm you plank.

>>60314436
What OS?
>>
>>60314436
codeblocks if you want opensource, install it along with mingw
Visual studio works with c++ too.
Qt creator is also a choice and should come in handy if you decide you want to have a crossplatform GUI application
>>
File: 1484699914718.jpg (993KB, 1182x1581px) Image search: [Google]
1484699914718.jpg
993KB, 1182x1581px
>>60314369
Permanent reminder
>>
>>60314447
Neat, I tried that one too. As for Visual Studio, it seemed unnecessarily slow and clunky and complicated for the peasant-tier "programs" I was making. Still, devc++ seemed to me the most user friendly as a complete newbie and it made looking for simple errors seemingly easier.
>>
>>60314478
Win 7 64bit.
>>
>>60314436
Go for Visual Studio. Qt if you want UI
>>
>>60314436
>What's /g/'s IDE of choice then?
For Windows development? Visual Studio. I wouldn't recommend it until you've written some basic Hello Worlds using a bare compiler though (MinGW or Clang). If you start programming C++ using an IDE like Visual Studio you will not have the faintest ideas which bits of it are innate to the language and which bits are the IDE. Build something small using MinGW (or Clang), CMake and Notepad++ (or similar) and then move on to Visual Studio.
>>
>>60314310
This. If you don't know what compiler to use and you're not using visual studio, use clang. You can switch to GCC for release builds and benchmark to see which binary is fastest. But for a beginner, good error messages is the most important feature.
>>
File: 1475561360616.gif (2MB, 480x360px) Image search: [Google]
1475561360616.gif
2MB, 480x360px
>>60314488
>This was an (((oversight)))
kkek
>>
>>60314482
>>60314504
just to clarify for OP: QtCreator is NOT just for Qt programs, you can create anything with it, from console applications to anything else really.

its just ALSO supports Qt as first class citizen
>>
>>60314310
>>60314474
QT uses the clang compiler too
>>
>>60314436
Clion. Like all JetBrains IDEs, it's the best for its language.
>>
>>60314529
its paid though, not that i have anything against paid software, but paying to develop just feels very wrong.

JetBrains IDEs are usually very good tho
>>
>>60314555
If one doesn't make enough $$$ as a developer to justify $100 per year for outstanding tools, one has bigger problems methinks.
>>
>>60314310
also no microsoft(tm) telemetry(tm) in your binaries.
>>60314488
>>
>>60313013
Linux/BSD -> Clang
Windows -> Visual Studios
>>
>>60314474
Gonna give this one a try. Any idea why it's so huge? It's expected to take around 8 GB.
>>
>>60314703
the editor itself is rather small, the huge size comes more from the Qt framework itself. specially if you also include the source.
>>
>>60313595
REMOVE WINDOWS
>>
>>60313382
Pretty much this. Since you're just learning it you should stick to the standards.
Thread posts: 43
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.