C ++ Compiler comparison

C ++, C / C ++ compiler is now divided into many types, each with its own advantages and disadvantages, but now have what the hottest interface C / C ++ compiler? And what C under linux, windows, dos / C ++ compiler is the most popular? well, after reading this article you'll know.

I mainly engaged in programming under windows, so I usually use to compile vc, after all, is the overlord of today's software products, performance and functionality naturally do not have to ask. Compilation speed is a bit slow. So when I write small programs have lccC / C ++ compiler. Performance is also good, and fast compilation.

I think there is probably not for beginners vc good C / C ++ compiler, mfc because all the programs execution mechanisms are encapsulated in its class inside. Beginners may see its code is unknown why. But lcc good, very suitable for beginners. It is a standard sdkC / C ++ compiler. Operating mechanism and message handling mechanism program written very clearly.

I mainly use both C / C ++ compiler, the other rarely used, so can not comment. Please comment.

  1. GCC family has

Cygwin

Mingw32

DJGPP

Dev-C++(Mingw32)

There are authentic version of GNU GCC 2.95.5 ~ 3.0.0.4

  1. MS family has

MSC 5.0、6.0、7.0

MSQC 1.0、2.5

MSVC 1.0、4.2、6.0、7.0

  1. Borland family has

TC 1.0、2.0

TC++ 1.01、3.0

BC 3.0、3.1、4.0、4.5、5.0、5.02

BCB 3.0,5.0,6.0

  1. There are other

Intel C/C++ 5.0

Watcom C/C++ 11.0、11.0c

VectorC 1.3.3

IBM VisualAge for C++

DigitalMars C/C++

KAI C/C++ 4.03f for RedHat 7.2

Lcc4.1

LCC-WIN32 2001-09-25 ~ 2002- 04-28 Japanese version

Small C

CC386

Pacific C

Another interpreter C

Quincy

Bic

CINT

The above-mentioned C / C ++ compiler / interpreter, most of which I have used. Now fixed using VC7.0 Cygwin Mingw32 VectorC and LCC-WIN32 five C / C ++ compiler. In the GNU GCC GCC family is fundamental, other C / C ++ compiler versions are derived from it. Where, C and under Cygwin Mingw32 are WIN32 internet / C ++ compiler, DJGPP is the DOS at 32 C / C ++ compiler. Well known DEV-C ++ is at best a shell of the GCC, it comes with the C / C ++ compiler is a version of Mingw32.

These versions of GCC, Cygwin is the largest, it is not so much a C / C ++ compiler, it is more a set of programming tools. It is not only C / C ++ compiler, there are many other tools. In fact, it is the realization of a UNIX system on WIN32 platform. To achieve the most commonly used UNIX tools, even the most recent version of Apache such "tools" are integrated come.

However, Cygwin although powerful, but it is not very easy to use (and similar UNIX, UNIX people familiar with it can quickly get started), because too many other tools to distract people's attention. In contrast Mingw32 would be much easy to use, it is only a few basic programming tools (but unfortunately it does not own GDB). GCC does not only C / C ++ C / C ++ compiler.

There are many other in which the C / C ++ compiler, such as J *** A, Fortran, ADA and the like. It is a C / C ++ compiler collection, but some C / C ++ compiler can only be used on UNIX systems. MS family C / C ++ compiler would not have said, we are very familiar with them. VC 7.0 (VC.NET) is its latest products. Borland family also goes without saying that we are all familiar. It was recently launched BCB 6.0.

Other C / C ++ compiler, such as: Intel C / C ++ you see that this is Intel's name something, and it is fully compatible with VC6, but to hang in VC6 to use. Watcom C / C ++ is a previous C / C ++ compiler Siguodazhan in one, originally a very good thing, but unfortunately strategy right now has not seen the sound. A OpenWatcom actually based on it now still fighting.

VectorC is a good stuff I only recently discovered, it is a pure C of C / C ++ compiler. IBM's VisualAge for C ++ IBM originally wanted to shed C ++ C / C ++ compiler this muddy stuff, but IBM's strategy changed, it was abandoned. Predecessor DigitalMars C / C ++ is Symantec C ++ (which is also a C / C ++ compiler Siguodazhan in), but now Symantec do not do, so it's authors put it into a DigitalMars C / C ++ open for everyone to use . These are the things on the WIN32 platform.

KAI C / C ++ is a very powerful C / C ++ C / C ++ compiler, which is a multi-platform C / C ++ compiler. But now it acquired INTEL, has stopped development. Lcc4.1 is a pure C of C / C ++ compiler that is open source. But not very easy to use. LCC-WIN32 is a development of the LCC, based on the C language integrated development environment.

Useful, but also very detailed information, FREE! Pacific C is a pure DOS-C integrated development environment, will not say more. Small C CC386 is open source C / C ++ compiler, they are very simple application to learn C / C ++ compiler for everyone. Quincy Eic CINT is a C interpreter, is used to allow them to learn the C language where CINT function is very powerful, but also supports some C ++ features.

Published 261 original articles · won praise 4 · Views 4268

Guess you like

Origin blog.csdn.net/it_xiangqiang/article/details/105206042