Which is the best C/C++ compiler where i get output also with program on same window?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Which is the best C/C++ compiler where i get output also with program on same window??

I want a best C/C++ compiler where I got output also with my program windows.

9th May 2018, 5:49 AM
Mehul SabhadiYa
Mehul SabhadiYa - avatar
7 Answers
+ 1
The best compilers are: * clang/LLVM. This is the best imo. Google Chrome is compiled using it. However it might require some experience for set up. * MinGW. This is the a port of the GNU C Compiler, the standard C Compiler used on Linux. You can get it as part of Code::Blocks. * Cygwin. This is an attempt to create a compete POSIX/UNIX environment in Windows. If you're learning Linux/UNIX and want to compile on Windows for some reason, this is your best bet. * MSVC. This is Microsoft's compiler. It's the easiest way to use Microsoft APIs and interact with the .NET framework. It's available as part of the Visual Studio IDE. * Intel Compiler. This is probably the fastest compiler out there, and if you want to do a lot of calculations, you might want to use it. It also takes advantage of Intel-specific instructions while creating an alternative execution path for other (a.k.a. AMD) CPUs to take. It's available as part of Intel Parallel Studio, which, unfortunately, costs money.
9th May 2018, 7:04 AM
Vlad Serbu
Vlad Serbu - avatar
+ 1
Paul The visual studio compiler sucks. It's not even C++ compliant.
10th May 2018, 12:22 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 1
Vlad Serbu Interesting. You have to admit that the compiler is often out of date. It took this long to become C++ compliant? What version is it compliant for? C++17?
10th May 2018, 4:49 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 1
Ben Allen (Njinx) Yeah, C++11/14/17. Technically speaking Visual C++ is a dialect of the language, so if there was a way to do a thing in that dialect, the language implementers have been reluctant to also implement the Standard C++ way. Recently, however, they started aiming for 100% compliance.
10th May 2018, 7:03 AM
Vlad Serbu
Vlad Serbu - avatar
0
microsoft visual studio is the best imo. There is also Coseblocks for example
9th May 2018, 6:09 AM
Paul
0
Ben Allen (Njinx) Actually MSVC is now (as of a few days ago) 100% C++ compliant. I can't find the article, as Microsoft's SEO is absolute garbage, though, so you'll just have to trust me on this.
10th May 2018, 4:26 AM
Vlad Serbu
Vlad Serbu - avatar
0
lol I am woeking on it right now and it is pretty cool if you ask me. But choose whatever you want. It is compatibile with cpp 17
10th May 2018, 6:00 AM
Paul