Hello, I had a quick look on here as this is a question is probably asked again and again but...

I've been watching some C++ tutorials on youtube and trying to learn the language and I was just wondering how is the best way to learn programming? I guess I'm asking how long is a piece of string.

I mean do you have to learn each line of code to begin with or do u find that the more you program the easier the language becomes and you find you just remember more and more code?

Also could anyone reccomend a good book to get started as everything I seem to look at is really complex or people seem to not rate it and say it's not good enough?

Any help would be appreciated.