Author Topic: Does code::blocks version matter?  (Read 2828 times)

Offline blazeykat

  • Single posting newcomer
  • *
  • Posts: 2
Does code::blocks version matter?
« on: January 29, 2019, 09:33:23 am »
Hey there. Im trying to learn c++ from the book "c++ for dummies: 7th edition". However, the book is quite old, and the version in the book is 4.71, quite old compared to the newer ones. I prefer using newer versions, so does it matter?

Offline sodev

  • Regular
  • ***
  • Posts: 497
Re: Does code::blocks version matter?
« Reply #1 on: January 29, 2019, 10:31:18 am »
I dont know what version you are referring to, but the 7th edition of that book is from 2014 and claims to cover c++14, this is ok if you start programming. I guess you will have a hard time to find a compiler that fully supports the newer standards.

Offline gd_on

  • Lives here!
  • ****
  • Posts: 796
Re: Does code::blocks version matter?
« Reply #2 on: January 29, 2019, 10:56:02 am »
I think that the 4.71 number is a reference to a TDM compiler, not a CodeBlocks version... usual confusion between a compiler and an IDE !
The last distributed C::B version is 17.12 and it contains (if you choose the right file, with MinGW) a 5.1 TDM version of MinGW compiler.
Nevertheless, you can find and install other compilers, for example MinGW 64, version 8.1, able to compile your code in 32 bits (as old Windows compilers), but also in 64 bits. This is the version used to compile the nightly distribution of CodeBlocks (seh + posix version I think).
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline blazeykat

  • Single posting newcomer
  • *
  • Posts: 2
Re: Does code::blocks version matter?
« Reply #3 on: January 30, 2019, 06:55:58 am »
Thanks all