Learning C++ is one of the most discussed topics among software developers. C++ is definitely not an easy programming language to learn and so, there is a lot of confusion that surrounds people when it comes to learning c++
So, first of all, there are some things you need to know first, before learning c++ that apply to learning almost any programming language.
Most starting programmers, when they want to learn to program, pick up a book and start reading.
While there are some excellent books out there that attempt to teach you programming in a very hands-on approach, I think the best place to start is by looking at the source code of an actual working application and trying to figure out as much of what is happening as possible.
This is difficult.
It's going to feel uncomfortable, but that's ok. Get used to feeling uncomfortable. That is the only real way to grow in life.
What I want you to do is to pick an open-source application-preferably a popular one that is likely to be well-designed-and start looking through the source code.
You can find plenty of projects on GitHub, so I'd recommend checking there.
It's beyond the scope of this book, but it's even better if you can download the code and build and run the application yourself.
If you have a friend that can help you with this, that's great. If you don't, it's ok.
What is important is that you explore the code to get a feel for what the programming language syntax looks like and that you try and read the code and see if you can understand or make sense of anything.
Use the application itself, if possible, so you can get a feel for the relationship between the code and what the code does.
Like I said, this is going to feel very uncomfortable.
You might feel like you're not understanding anything.
Here are some pros of learning C++:
Is extremely popular, and therefore lots of support is available.
Has a large base of freely available code for download, while also supporting direct integration with ASM and C.
Is very powerful, and can be used to create just about any program, including low-level system programs.
There is a compiler for C++ on every major operating system. C++ programs that are purposely written for portability will work on many major operating systems with little change in code.
C++ is a language that is compiled (transformed from human-readable code to low-level machine code), so it can often run faster than languages such as Java, Python, and C#; as it does not depend on an interpreter or a “run-time environment” which must be loaded beforehand.
Has a long-established usage base that likely guarantees support for the language will continue for quite some time.
Many languages are based on C/C++, such as Java, so knowledge in C++ will make it easier to understand these languages.
Has a relatively small associated C++ Standard Library as compared to languages such as Java's Standard Platform SDK or C#'s .NET Framework, permitting greater versatility and reducing the system footprint of resulting compilations.
Has a significant number of open source libraries available, including the Boost which is freely and widely available.
So, despite that, there are a lot of resources you need to be aware of when it comes to learning c++. Wanna know more about learning c++ programming? Watch this video and find out!
Learning C++ is one of the most discussed topics among software developers. C++ is definitely not an easy programming language to learn and so, there is a lot of confusion that surrounds people when it comes to learning c++
So, first of all, there are some things you need to know first, before learning c++ that apply to learning almost any programming language.
Most starting programmers, when they want to learn to program, pick up a book and start reading.
While there are some excellent books out there that attempt to teach you programming in a very hands-on approach, I think the best place to start is by looking at the source code of an actual working application and trying to figure out as much of what is happening as possible.
This is difficult.
It's going to feel uncomfortable, but that's ok. Get used to feeling uncomfortable. That is the only real way to grow in life.
What I want you to do is to pick an open-source application-preferably a popular one that is likely to be well-designed-and start looking through the source code.
You can find plenty of projects on GitHub, so I'd recommend checking there.
It's beyond the scope of this book, but it's even better if you can download the code and build and run the application yourself.
If you have a friend that can help you with this, that's great. If you don't, it's ok.
What is important is that you explore the code to get a feel for what the programming language syntax looks like and that you try and read the code and see if you can understand or make sense of anything.
Use the application itself, if possible, so you can get a feel for the relationship between the code and what the code does.
Like I said, this is going to feel very uncomfortable.
You might feel like you're not understanding anything.
Here are some pros of learning C++:
So, despite that, there are a lot of resources you need to be aware of when it comes to learning c++. Wanna know more about learning c++ programming? Watch this video and find out!
[responsive_video type='youtube' hide_related='0′ hide_logo='0′ hide_controls='0′ hide_title='0′ hide_fullscreen='0′ autoplay='0′]https://www.youtube.com/watch?v=r94FWJsSc3w[/responsive_video]