Thursday 19 July 2018

Which-is-the-best-compiler-for-C-C++-programming? tccicomputercoaching.com

Compiler !!! if you are unknown to this word then first understand what is Compiler?

Generally any programming Language written in related Editor, which is called source code. This Source code always written in High Level Language, but machine can't understand this high level language . It understand only low level language. Compiler covert high level programming language to low level programming language. As well as it checks syntax of source code into the Editor.

So, in short Compiler works like intermediate.

There are many Compilers to compile the source code. Which one is the best?

There are two C++11 (or C++14) compliant free software compilers: GCC and Clang/LLVM.

Both are command line programs. GCC is able to optimize slightly better, and Clang is giving slightly better warnings. You probably want to also use a build automation tool like GNU make. If you install then use some Linux distribution (very developer friendly and mostly made of free software), you’ll have very easily a lot of build tools (including the ones I have mentioned). Intel's ICC is nice. Intel's compiler has C++ support and you can't disable that.

Some compilers support newer features (C++11, C++14), but some don't. GCC is free, as is Clang. But ICC is not free, unless you are a student in which case you can get a license.

Conclusion is Different compilers are best at different things.

To know more in detail C Programming Language , C++ Programming Language, Data Structure Programming Language , Learn HTML at TCCI , Ahmedabad

Visit us @ http://tccicomputercoaching.com/
Call us @ 98256 18292

No comments:

Post a Comment