Hi, I've been learning C++ since 3 months ago (using C++ Primer 5th edition) and unfortunately i find it very boring i just wanna learn the basics then jump into coding using Windows API (oh and i'm not a complete Beginner even though it's my first language)
C++ Primer 5th edition takes *time* and energy (but it gives lots of information -some of them... i don't need XD)
but i don't want the *learning then coding* way i want the *code to learn* or the *experience* way but you can't code until you learn the basics.
so can you show me the way and what about Ivor Horton's Visual C++ ...
actually i'm thinking of a program
i want to create it then debug and improve it so i get better in it
i tried Video tutorials (which lack information) and books (which take time)
but i think this Ivor Horton's Visual C++ ... book is what i need....
so firstly sorry for my bad English
secondly sorry for repeating everything again 'n' again 'n' again...it's just the way i am XD
my environment...?
IDE or Compiler or OS? which one?
OS: Windows
IDE : Visual Studio of course
Compiler: Visual Studio Built-in Compiler but prefer GCC
oh and sorry for being late (I don't usually have internet connection in my country)
There are some differences in the C++ standard accepted with each version. 2015, since it is the latest, uses the latest standard and should be the version you use if you computer meets the requirements.
Here is a page listing which features are supported by each Visual Studio version. Visual Studio, unfortunately, does not support every feature. Variable Templates from C++14 are, for example, not supported, nor is the SFINALE expression from C++11.
Thanks a lot
I use VS 2015
so another question
when you say it uses the latest standard does it mean that if I copy my code from VS 2015 to VS 2010 there's a chance that I won't be able to compile it?
or I got it wrong?
and I found this
No no. If it worked in 2010, it'll work in 2015. I meant that some of the newest C++ features aren't supported in any Visual Studio version. If it compiles in VS 2010, it should compile in VS 2015, unless you're using a compiler that isn't from Microsoft. I think the only compiler that's been built for drop into VS is the Intel C++ compiler, and I don't think any of us here use that. But Intel's compiler probably supports more features than VS does (don't quote me on that).
That guide might work, though it is quite old. You should find one that is newer. If you're looking into GUI development, I might suggest Qt, as the Windows libraries can be...a pain.