Jump to content

Photo

C++ Compiler?


  • Please log in to reply
10 replies to this topic

#1 Sophientis

Sophientis

    Kilobyte

  • Members
  • 143 posts
  • LocationInside my room

Posted 11 September 2014 - 10:33 PM

   I'm borrowing this textbook from one of my teachers that teaches C++, but I can't find a compiler from microsoft for windows 8, and the compiler that the textbook suggests only works up to 7. Do you guys know one?


tumblr_n98h1pNiU71qkw2uho1_500.gif


#2 Guest_ElatedOwl_*

Guest_ElatedOwl_*
  • Guests

Posted 11 September 2014 - 10:41 PM

What compiler is the book saying to use? You want to stay as close as possible.

 

All else failing you can compile code online @ ideone.com, but obviously you're better off doing it on your machine.

 

Recommendations from http://www.cplusplus...beginner/84209/

 

1- Code::Blocks -> http://www.codeblocks.org/downloads
2- Visual Studio C++ Express -> http://www.microsoft...2010-Visual-CPP (personal note - 2013 is their current version, but I'd recommend staying away from VSC if you're following a book using something else)
3- Netbeans -> http://netbeans.org/downloads/
4- Eclipse -> http://www.eclipse.o...opers/heliossr1
5- QT Creator -> http://qt.nokia.com/downloads (scroll down a bit to download it as a standalone)
6- wxDev-C++ -> http://wxdsgn.source...e.net/?q=node/4



#3 Sophientis

Sophientis

    Kilobyte

  • Members
  • 143 posts
  • LocationInside my room

Posted 11 September 2014 - 10:54 PM

It wants me to use MIcrsoft Visual C++ .NET compiler, and I tried the November 2013 and 2012,and attempted to install Windows SDK 7.1 first. Any compiler shouldn't be a problem, because it states "you will be able to create the programs in the book using most C++ compilers, often with little or no modification". I also think it was supposed to come with a cd that would download the standard 2003 compiler, but I didn't ever see it.


tumblr_n98h1pNiU71qkw2uho1_500.gif


#4 Guest_ElatedOwl_*

Guest_ElatedOwl_*
  • Guests

Posted 11 September 2014 - 10:57 PM

Oh, in that case - http://www.visualstu...press-windows-8

If your school gave you a .edu email address you can get the professional version of visual studio for free. (though tbh I don't think it's going to make any difference when you're just starting, but I'm not positive)



#5 SpleenBeGone

SpleenBeGone

    Deer Leader of the Goriest Revolution

  • Administrators
  • 14,951 posts
  • LocationHouston

Posted 12 September 2014 - 01:59 PM

Hid all the non relevant stuff. 


nmjUGDL.jpg

#6 MartyMcNerd

MartyMcNerd

    Byte

  • Members
  • 35 posts

Posted 17 September 2014 - 07:32 AM

Codeblocs is very good. Follow this link http://www.codeblock...oads/26#windows and download the mingw.exe version of the compiler.

Checked and it's windows 8 compatible and is one of my fave compilers for c++ have fun coding :-P hit me up if u need any help or just wanna chat programming

Marty

#7 Generic_Nerd14

Generic_Nerd14

    Byte

  • Members
  • 13 posts

Posted 11 June 2017 - 12:38 AM

Why I use windows ten JK



#8 Champion of Cyrodiil

Champion of Cyrodiil

    Gigabyte

  • Members
  • 776 posts
  • LocationVirginia

Posted 13 July 2018 - 10:47 PM

GCC-6 w/ Cmake and Conan.io



#9 mattlevy

mattlevy

    Byte

  • Members
  • 15 posts
  • LocationSan Francisco, CA, USA

Posted 31 October 2018 - 04:28 AM

Yes! i know man



#10 sankalppatil

sankalppatil

    Bit

  • Members
  • 1 posts

Posted 03 November 2018 - 12:50 AM

I recommend that people take Standard conformance very seriously when considering a compiler. If you can, avoid any compiler that doesn't closely approximate the ISO standard or fails to supply a solid implementation of the standard library. The recent releases from all the major C++ vendors do that.



#11 AdrianG001

AdrianG001

    Byte

  • Members
  • 17 posts

Posted 13 December 2019 - 11:22 AM

This depends on what you want from the compiler.

Nowadays, by far the most popular C compilers are: gccclangvisual c++ build tools. Each one has their advantages:

gcc Is the default compiler for most linux distributions. It produces nice code, it is up to date on C++ standards, it is portable to many platforms, it is free. Most open source C code out there is targeted for gcc. Overall, you can’t go wrong with gcc.

clang Is the default compiler in mac and some BSD distributions, but runs in any platform. It is part of the llvm umbrella. It produces code comparable to gcc, a little faster in some benchmarks and slower in others. It’s main advantages are that it is very fast, it has some really nice error reports, and I would argue that the multi platform support is better than gcc because you can switch the target platform at run time instead of at compile time. It is up to date on C++ standards. It is widely rewarded as having a really nice code base. It is free. You can’t go wrong with clang either.

Visual C++ build tools This is the compiler that comes with visual studio. Visual studio is a terrific IDE, probably the best nowadays. It is the compiler of choice if you are working on windows. Not quite up to date on standards, not platform independent. It is free for certain uses only. Just because of visual studio I would consider it if all you care about is windows.

A special mention goes to ICC. It is not that popular, it is not free, but it blows the other compilers out of the water when it comes to benchmarks. It is really good at optimizing code for Intel processors.