Thread: Recommended C++ compiler and IDE for Windows

  1. #1
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909

    Recommended C++ compiler and IDE for Windows

    Hey all, been a while . Work and life in general has kept me away from this forum, but I'm hoping I can ply you all for some advice.

    I'm wondering if anybody can recommend a good, modern IDE and compiler for Windows.

    I've been working at a small university for the past few months teaching some intro programming classes. The university is recommending Dev-C++ to the students, which is way out of date. They're open to updating, but there's only one full time faculty, and they're too swamped to deal with stuff like this. The students hate Dev-C++; it doesn't work well on most of the lab computers or their laptops.

    The school doesn't have much money, so whatever we replace it with would need to be free, or very cheap.

    Code::Blocks used to be frequently recommended on this site. While the C::B forum and repo seem to be active, there hasn't been a release in 1.5 years AFAICT. Has C::B begun to die off, or would y'all still recommend it?

    What about alternatives like Eclipse, Netbeans or CodeLite or CLion?

    As far as compilers go, any recommendation on MinGW vs Clang or others?

    Thanks a bunch.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    There's Orwell Dev-c++

    But once you move out of the fully integrated package, there are multitudes of combinations.

    I use C::B on Linux ATM.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Guest
    Guest
    Another option, if you don't actually need the smarts of an IDE (it being an introductory course) might be to create a well-designed CMake project. The students wouldn't have to do anything, or at worst add their source files to some list. The choice of compiler (e.g. mingw-w64) and text editor (e.g. Atom or VSCode) would still be open.

    p.s. Not sure Clang is well supported on Windows yet, but I didn't have any big issues with GCC (mingw).

  4. #4
    Registered User
    Join Date
    May 2010
    Posts
    4,632
    Since you mention Windows have you considered Visual Studio 2017? I've heard that there may be a version free to download.

  5. #5
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Thanks.

    Sorry if I wasn't clear. I'm teaching some intro courses, but pretty much all the courses, including advanced ones, are C++ (though honestly, the bar is not very high at this school, so I'm not sure that "advanced" is that advanced).

    I totally forgot about the Orwell version, though the latest update seems to be 2 years ago, so I'm probably gonna write that off. :/

    I kinda forgot about Atom. And I didn't realize VSCode was a thing, but it looks nice.

    I guess I got my work cut out for me, trying all these things out.

  6. #6
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by anduril462
    Code::Blocks used to be frequently recommended on this site. While the C::B forum and repo seem to be active, there hasn't been a release in 1.5 years AFAICT. Has C::B begun to die off, or would y'all still recommend it?
    The forums seem to still be publishing nightly builds that are not mere repeats of previous builds? That could indicate that it is still actively being worked on, though they are slow to make stable releases (but then that appears to have been the case in the past).
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  7. #7
    Registered User
    Join Date
    Apr 2013
    Posts
    1,658
    Quote Originally Posted by jimblumberg View Post
    Since you mention Windows have you considered Visual Studio 2017? I've heard that there may be a version free to download.
    or Visual Studio 2015 desktop express (free). You willl have to search for this as the links have changed over time.

  8. #8
    Registered User
    Join Date
    May 2010
    Posts
    4,632
    Visual Studio 2015 desktop express (free).
    IMO, this version is a little outdated, the C++ support is behind the times, get the latest version if possible.

    Jim

  9. #9
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by jimblumberg View Post
    IMO, this version is a little outdated, the C++ support is behind the times, get the latest version if possible.

    Jim
    Might wish to look at Visual Code and see if that works for you.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Compiler for Windows 8/8.1 ??
    By Esc Butt in forum C Programming
    Replies: 5
    Last Post: 06-01-2015, 03:45 AM
  2. C Compiler For 64-Bit Windows 7
    By Dr.Xperience in forum C Programming
    Replies: 9
    Last Post: 07-06-2011, 05:37 AM
  3. Recommended Compiler for OpenGL
    By Atolar in forum Game Programming
    Replies: 8
    Last Post: 04-23-2006, 01:06 PM
  4. Recommended C Compilers for Windows
    By maththeorylvr in forum Windows Programming
    Replies: 6
    Last Post: 06-22-2005, 03:49 AM
  5. <windows.h> compiler help..!
    By The Brain in forum Windows Programming
    Replies: 4
    Last Post: 05-11-2005, 08:47 PM

Tags for this Thread