Author Topic: Which IDE is better for C++ beginner  (Read 258 times)

0 Members and 1 Guest are viewing this topic.

Offline Chris Chancellor

  • Jr. Member
  • **
  • Posts: 57
Which IDE is better for C++ beginner
« on: April 28, 2018, 07:06:37 PM »
Hello All


I would like to learn C++ and would like to dwell into compiling to 64bits native codes only

so i was looking in the internet, there were recommendations :

 1.  Codeblocks   which some said compiled to only 32bits native and is console base

 2.  Visual C++ 2017  which can compile to 64bits native,  windows base and provided you use MFC

so this means that Visual C++ 2017  would be an ideal starter for a beginner programmer like myself
i'm not sure if the above opinions are true or not as i hasn't done any programming in c++

what would be your opinion on this matter?  kindly advise
Thanxx for your advice


Offline Pierre Bellisle

  • Jr. Member
  • **
  • Posts: 83
Re: Which IDE is better for C++ beginner
« Reply #1 on: April 29, 2018, 08:17:01 PM »
CodeBloc (v17.12) is more an IDE, and need some compilers to acheive it's goal.
If you install it with both GNU GCC Compiler(x32) andr GNU GCC Compiler(x64)
then you will be able to compile both 32 and 64 bit.
Look in Setting / Compiler / Selected compiler / GNU GCC Compiler(x32) or GNU GCC Compiler(x64) and set the default.
CodeBloc with both compiler is liteweight so it do not need much space on drive.

Another one: DevCPP IDE is no more updated but still give an interesting learning environment for the same GNU GCC Compiler(x32) or GNU GCC Compiler(x64).

MS Visual C++ is by far the most advanced environment and the absolute way to go long term in my opinion.

I think that having the 3 installed give the choice to use what is more meaningful at particular time for the coder...

Also, on this forum, Patrice wrote many good things about C++..



Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2440
  • Gender: Male
    • www.zapsolution.com
Re: Which IDE is better for C++ beginner
« Reply #2 on: April 29, 2018, 08:57:50 PM »
Quote
MS Visual C++ is by far the most advanced environment and the absolute way to go long term in my opinion.
No dispute there, it is years ahead of everything else, and remember that the VS 2017 community version, is totaly FREE.  8)
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Chris Chancellor

  • Jr. Member
  • **
  • Posts: 57
Re: Which IDE is better for C++ beginner
« Reply #3 on: April 29, 2018, 09:04:53 PM »
Thanxx a lot Pierre and Patrice

by the way, as for VS 2017,  it is true that we need to compile using MFC  in order to get native code ?
bcos native code is better than managed code


MFC = Microsoft Foundation Class


Offline Pierre Bellisle

  • Jr. Member
  • **
  • Posts: 83
Re: Which IDE is better for C++ beginner
« Reply #4 on: April 29, 2018, 09:15:09 PM »
Forgot to say... Whatever the compiler you use, doing the complete tutorial at http://www.cplusplus.com/ is real nice way to start as I see it.

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2440
  • Gender: Male
    • www.zapsolution.com
Re: Which IDE is better for C++ beginner
« Reply #5 on: April 29, 2018, 10:27:59 PM »
MFC, i never use it...

Plain SDK programming has always been my moto, and it is the same whatever the language being used.
This is also the only way to produce small, lean, and fast efficient code, even in 64-bit.
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Chris Chancellor

  • Jr. Member
  • **
  • Posts: 57
Re: Which IDE is better for C++ beginner
« Reply #6 on: May 01, 2018, 10:20:00 PM »
Thanxx Patrice and Pierre

Offline Frederick J. Harris

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1016
  • Gender: Male
    • Frederick J. Harris
Re: Which IDE is better for C++ beginner
« Reply #7 on: May 24, 2018, 02:34:48 AM »
Sorry I didn't reply earlier.  I'm in the US state of Colorado building a log cabin there.  Just got electricity connected last week, and just got an internet connection about two hours ago. 

All the advice given above is sound.  Like others stated, the Code::Blocks IDE can be configured to use any compiler including any version of Mingw or MSVC.  It can be a trial though to get it working.  I'd recommend using a stock setup until you become familiar with C or C++.  There isn't much difference between building 32 bit or 64 bit executables.  The language in large degree insulates you from the differences. 

More and more I do command line compiling for my C++ apps.  You might want to examine my tutorials on that.