Author Topic: What would be best C++ IDE and compiler  (Read 599 times)

0 Members and 1 Guest are viewing this topic.

Offline Chris Chancellor

  • Newbie
  • *
  • Posts: 4
What would be best C++ IDE and compiler
« on: June 14, 2017, 05:57:02 PM »
Hello folks

I'm trying to learn C++ and I wish to know what would be the best C++ compiler and IDE
for beginners like myself.   I'm only a part timer in programming. i learn some BASIC and VB.net
for the past 3 or 4 years, i'm no expert in these either.  i don't like microsoft visual stuff
please advise
 ThanXXX

Offline Carlo Pagani

  • Jr. Member
  • **
  • Posts: 63
Re: What would be best C++ IDE and compiler
« Reply #1 on: June 14, 2017, 09:47:47 PM »
In my opinion, the best would be Visual Studio  - Community edition is free and setup only downloads the components select (2017) so you don't need the huge downloads from the past.

Offline Chris Chancellor

  • Newbie
  • *
  • Posts: 4
Re: What would be best C++ IDE and compiler
« Reply #2 on: June 15, 2017, 06:19:16 AM »
Thanxx Carlo

i don't like microsoft stuff,  how about Codeblocks is it good for beginners ?

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2391
  • Gender: Male
    • www.zapsolution.com
Re: What would be best C++ IDE and compiler
« Reply #3 on: June 15, 2017, 09:14:33 AM »
Visual Studio is the best choice, especially if you need further help.
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline James C. Fuller

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 672
Re: What would be best C++ IDE and compiler
« Reply #4 on: June 15, 2017, 11:24:33 AM »
Chris,
  Use any editor you want and compile with my batch files from one of the bc9Basic packages.
There are batch files for VC, TDM (http://tdm-gcc.tdragon.net/), NUWEN distro (https://nuwen.net/mingw.html)

James

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2391
  • Gender: Male
    • www.zapsolution.com
Re: What would be best C++ IDE and compiler
« Reply #5 on: June 15, 2017, 02:09:37 PM »
Visual Studio, has a built-in debugger, intellisense, and all extra goodies you can expect from a modern compiler.
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Frederick J. Harris

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1012
  • Gender: Male
    • Frederick J. Harris
Re: What would be best C++ IDE and compiler
« Reply #6 on: June 15, 2017, 04:13:08 PM »
For just getting started I'd recommend a package with the compiler and IDE together.  Code::Blocks can be setup to build with any compiler, but you've got to struggle through a lot of setup screens to get it all working.  That's why I'd recommend getting the download with the build system (compiler) and IDE integrated.  That way, it ought to work right 'out of the box', so to speak. 

I'm not a fan of Visual Studio but Microsoft's compiler is my main compiler right now (for a good many years GCC from MinGW was my main C++ build system, but it is too bloated to suit me what with all the stuff necessary for compliance with the changes they've made to C++ over the course of the past five years or so).

When I do use an IDE I use the IDE from my Visual Studio 2008 edition.  My main compiler is VC15 from the Visual Studio 2008 edition.  Most C++ work I do now is with my own build libraries which are alternates to the ones supplied by Microsoft.  In that way I can produce binaries as small or smaller than those produced by PowerBASIC and in 64 bit. 

It seems the trend in C++ for a good many years now is to somehow or other morph it into C#.  So you'll have to decide which direction you want to go in with your learning.  For myself I seem to use the high level features of the language sparingly, as I suppose I'm still greatly affected by my early C roots. 
« Last Edit: June 15, 2017, 04:14:56 PM by Frederick J. Harris »

Offline Frederick J. Harris

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1012
  • Gender: Male
    • Frederick J. Harris
Re: What would be best C++ IDE and compiler
« Reply #7 on: June 15, 2017, 04:39:42 PM »
So the route to take in my opinion is to not worry too much about which IDE or build system you use.  Learning C++ is tough, and I'd concentrate on that, which can be done with any compiler/IDE.  After you get a little confidence, experiment with various compilers and IDEs. 

Notepad++ is a decent lightweight code editor.  I use that a lot with my TCLib (alteernate to C Runtime).  The big trouble I have with every code editor except Visual Studio is that none of them are 100% perfect in providing a 'function management pane/window' that shows all the functions in the code tab presently open.  I become furious over that.  Furious to the point of being on the verge of writing my own editor!  I don't know why they can't write good enough code to do that.   

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2391
  • Gender: Male
    • www.zapsolution.com
Re: What would be best C++ IDE and compiler
« Reply #8 on: June 15, 2017, 07:06:02 PM »
Quote
that shows all the functions in the code tab presently open
UltraEdit  8)
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Chris Chancellor

  • Newbie
  • *
  • Posts: 4
Re: What would be best C++ IDE and compiler
« Reply #9 on: June 16, 2017, 04:46:14 PM »
Thanxx all

i already have Visual Studio 2015 installed but I'm using VB.NET  , how to use both C++ and vb together?
Can VS 2015 accomodate these 2 languages at once?

Offline Frederick J. Harris

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1012
  • Gender: Male
    • Frederick J. Harris
Re: What would be best C++ IDE and compiler
« Reply #10 on: June 16, 2017, 09:24:08 PM »
I have the freebee version of VS 2015 installed on my one box but I never hardly use it.  I recall though having to re-install it because the default install didn't install any of the C++ stuff or even the SDK.  That really blew my mind.

So to answer your question, yes, you should be able to use the same Visual Studio IDE for both languages, but if the C++ build system and the SDK isn't installed, you'll be going nowhere fast.

When everything is installed correctly and you go to set up a Project/Solution, the IDE should give you a choice as to what kind of project, i.e., which language, you want to use.  With my Visual Studio 2008 installation I use there's a bunch of choices, e.g., VB.NET, C#.NET, C++ Smart Device, C++, and several others I never use cuz I'm not that familiar with them. 

So you need to check on that.  If the IDE isn't giving you those choices then its my guess you haven't installed those components/languages.   

Offline Andrey Unis

  • Newbie
  • *
  • Posts: 2
Re: What would be best C++ IDE and compiler
« Reply #11 on: June 18, 2017, 08:12:22 AM »
Visual Studio, has a built-in debugger, intellisense, and all extra goodies you can expect from a modern compiler.
Visual Studio plus few Extensions:
+ Visual Assist (_https://www.wholetomato.com) => IMHO, must have plugin
+ Tabs Studio (_https://tabsstudio.com)
+ Indent Guides (freeware. Install from Tools -> Extensions and Update)

Offline Ron Allen

  • Newbie
  • *
  • Posts: 6
Re: What would be best C++ IDE and compiler
« Reply #12 on: June 19, 2017, 05:36:22 PM »
Hi,

take a look at Dev C++
 
http://dev-c.programs.gratis/?lp=bing&tg=us&tp=rs&os=windows&utm_source=bing&utm_medium=cpc&utm_campaign=search

I've used it a little to get my feet wet, it seems ok and the price is right for getting familiar.

Ron

Offline Paul Breen

  • Jr. Member
  • **
  • Posts: 66
Re: What would be best C++ IDE and compiler
« Reply #13 on: July 14, 2017, 09:03:55 PM »
C++ Builder by Embarcadero is free now for the starter edition, used to be about $240. With this you get the famous VCL library made famous by delphi. For desktop apps this frequently cited as the best library for windows. The new compiler is llvm based, not the old borland compiler anymore. Starter is limited to 32 bits but probably not a problem for a beginner. Microsoft makes the best compiler for windows but it may not be the best for you. See the videos on youtube to help you make up your mind. I prefer the RAD Studio IDE myself, in Delphi mode. If you are a student, get the RAD Studio professional, it is a steal even if you do have to pay about $130 for it. Sure, visual studio is free, but it is free for everybody, so why do people who make their living writing programs pay for other tools? As an extra benefit, your soul will not burn on the lake of fire for all eternity as punishment for joining the dark side. Try them both and see which one you like better.