What's a good way to learn C++ by yourself?

Home » Programming & Design » What's a good way to learn C++ by yourself?
Programming & Design No Comments

I'm trying to learn C++ on my own. What's a good way to learn? I've been watching a lot of youtube videos and generally just playing around with a compiler.
It's been a little frustrating. I'm normally a great independent learner, but for some reason this just isn't clicking.

Any

I'm trying to learn C++ on my own. What's a good way to learn? I've been watching a lot of youtube videos and generally just playing around with a compiler.
It's been a little frustrating. I'm normally a great independent learner, but for some reason this just isn't clicking.

Any programmers out there have any advice on learning this?

Any advice?

Best Answer:

Elias Vela: Get a PDF book and follow along with it.

When you learn a new concept try to use it in your own program after you followed along the tutorials.

Think of different ways you can use everything you learned.

Also question why you do things in a tutorial. If you use std::cin and std::cout you probably don't need to
#include <cstdio>
Even if the tutorial is using it. If your program isn't going to accept command line args then
int main(){
Doesn't need anything in the parentheses.

Play around with the basics until it becomes second nature. When you are ready for more advanced stuff, research it separately, your beginner tutorials don't necessarily need to cover more advanced stuff.

Other answer:

Elias Vela:
I wanted to learn this as well but just couldn't understand it. How ever many programmers I talked to during this time said I should try to learn java first. They say it is easier and a lot of the concepts apply to C++ making the learning process easier than learning C++ first.

LEAVE A COMMENT