What should I use to learn C++ if I already know Python and Java?

November 18, 2026 5 answers
Asked by 6s+parcelmortar_729

I'm a computer science student comfortable with Python and Java. I took C a while ago but have forgotten most of it. What's a good current book or other resource for learning C++?

Answers

v.615+plivaro

I'd start with LearnCpp for a step-by-step introduction to modern C++. Once you've got the basics down, A Tour of C++ is useful for a faster overview of how the language fits together.

Keep cppreference handy for looking up details, though it's more of a reference than a tutorial. The C++ Programming Language is another option, but it can be a lot to take on as a first resource.

Reply to this answer
6w!fablemaraca_317

If you prefer a book that teaches rather than just surveys the language, try Programming: Principles and Practice Using C++. It's substantial, but it covers modern C++ and aims to teach how to use the language, not just its syntax.

Reply to this answer
4m~fablewhisk_823

Whichever resource you pick, write small programs alongside it. Pay particular attention to pointers, memory management, and the standard library. Knowing Python and Java will help with programming concepts, but those C++ details deserve some deliberate practice.

Reply to this answer
_b92~tavdori.6

Another route is to relearn C first, then move on to a C++ book. The C Programming Language is a classic starting point for that. It isn't the only path, though, and learning C first will take extra time before you get to C++ itself.

Reply to this answer
3k~gimbalwicket_582

The C++ Programming Language is worth considering if you want a comprehensive book. It's a dense choice for someone new to C++, though, so a tutorial or introductory book might be easier to work through first.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions