C++ compiler

Asked

Viewed 180 times

-1

I am starting the Information System course and would like to know which compiler is best to use, as the teacher has passed several and has not specified which is best?

  • 1

    Starting the course with an object-oriented language? Pulled huh...

  • 1

    Although the answer to this question is an opinion (which is not considered very legal in the SO-en): g++ http://gcc.gnu.org/

2 answers

1

Use GNU running on Mac OS X, Linux, Free BSD and Windows (the Mingw implementation is the easiest to use). You can use the Eclipse IDE which has a distribution for C and C++ developers called CDT - click on the link Eclipse C/C++ IDE for Kepler SR2 to download the IDE.

See the observation below that specifies how to make Eclipse CDT recognize Mingw installation

CDT will find your Mingw install Automatically if you install it into C: Mingw and add the C: Mingw bin directory to your PATH, or set the MINGW_HOME Environment variable to the install Location.

Mingw can be found here : Download from Mingw

After downloading and running the setup you can run the command below to install the C compiler++

mingw-get install gcc

The mingw-get is the Mingw package manager and facilitates the life of the developer in the task of installing the correct versions of the development tools.

0

It depends on several factors, as to which platform and processor you want? Whereas you want to compile for PC, if you are on Linux, I would certainly indicate g++ for C++ and gcc for C, now in Windows Mingw presents the best benefit cost as it is free, and would be g++ for Windows, the compiler of Microsoft Visual C++, note that both the IDE and the compiler call Visual C++ generates more optimized code however it is paid, so for me Mingw is better because it has a great benefit cost, and solves all problems.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.