best way to learn c++

I'm currently in the middle of studying first year computer science and one of our subjects is C++. The teacher has told us our coursework is to build a game but I'm still in the process of learning arrays and loops. I was just curious how other people learnt to code with c++. I currently have 2 books which are:

Sams teach yourself c++ in 21 days:
https://www.amazon.co.uk/Sams-Teach-Yourself-21-Days/dp/067232072X

Jumping into c++
https://www.amazon.co.uk/Jumping-into-C-Alex-Allain/dp/0988927802/ref=sr_1_1?s=books&ie=UTF8&qid=1514203729&sr=1-1&keywords=jumping+into+c%2B%2B

With the course I also have access to lynda.com for at least 2 years.




I'm confused. Doesn't the course teach C++? Or does the course assume that you already know C++? I think most people learn C++ by taking a course in it. If C++ knowledge is a prerequisite for the course then you probably shouldn't be taking it.
As with most uni courses they are only allowed to teach us so much. We have been shown loops and arrays but as it's christmas and have nearly 3 weeks off I wanted to look into c++ a bit more.

I was just curious if people had/prefered a way in which they learnt c++ that wasn't a set course.


It might be good to just read ahead in your class material to learn more. Be sure to do some of the exercises: programming is a lot like sports: it takes practice to get good.

If you search this forum for book recommendations, you'll find that a few pop to the top of people's lists.

Good luck!
Registered users can post here. Sign in or register to post.