My background:

  1. I have completed the course CS50X which covered C, python, web development, and some data structures in C. I can currently use C, python, and javascript.

  2. I want to learn C++ and I want to:

    • Contribute to open source projects
    • Competitive Programming
    • Take part in App development if possible
  • 1
    $\begingroup$ Practice, practice, practice. $\endgroup$ Commented Feb 19, 2021 at 15:24
  • 1
    $\begingroup$ If you have mastered C then your are 5% there. $\endgroup$ Commented Feb 27, 2021 at 22:13

3 Answers 3


So, if you're simply looking to convert the knowledge you already have, web searches like

C++ for C developers

C++ for javascript developers

C++ for python developers

... will get you up to speed.

As a relative beginner, you'll also learn features of the original languages that you didn't know, and get a taste of what sorts of features professional developers find helpful and worthy of discussion. Comparing languages like this is an excellent way of expanding your knowledge of programming languages as a field!

If I were you, I'd also consider searches based on the languages you say you are already familiar with:

C for python developers

Python for C developers

C for javascript developers

... and so on.

You can find out quite a bit about programming languages as a field by working through these comparisons in languages that you already know.

That's my answer to the question you've directly asked. Before I go, though, I do have one important caveat: your goal shouldn't be to "learn" as many languages as possible. Your goal right now should be to find a home base language that excites you enough that you want to delve deeply into it. Depth is far more valuable than breadth, if only because picking up a new language is relatively easy (as demonstrated by my searches). Honestly, as long as the languages share similar paradigms1, you can translate most of your knowledge of one language to another in roughly an afternoon.

So, by all means go and check out C++! But when you've explored around a little, see if it also ignites your sense of fun and intrigue. If it does, then really take some time to start to learn the language in depth. You might spend a year, maybe a few years, or maybe only a few months before you lose interest. But the goal is to dive deep, and really learn something well. As strange as it sounds, deep diving will ultimately give you a lot more flexibility than more shallow explorations as you learn and develop.

Good luck!

1 - When they don't share paradigms, such as moving from procedural to functional programming, then things become much more interesting, and the process of learning the language is much tougher, though the rewards are also much greater.

  • $\begingroup$ Do not confuse C and C++. They look similar, C is (almost) a subset of C++, but they are profoundly differerent languages. $\endgroup$
    – vonbrand
    Commented May 23, 2021 at 15:36
  • $\begingroup$ @vonbrand I didn't, I was referencing C in the second part because it is a language that op says they already know. I will edit to make that clearer. $\endgroup$
    – Ben I.
    Commented May 23, 2021 at 22:02

Stroustrup, Bjarne (May 2014) "Programming -- Principles and Practice Using C++" Addison-Wesley ISBN 978-0321-992789


1,000 pages. It will hurt. You will learn.


What specific open source programs/areas are you interested in? Check their webpages, download the sources and build them yourself, they often list "easy/for beginner" tasks, sniff around their development lists, peek at the bug reporting system. That should give you a better idea of the task you are taking on, and how friendly the community is. Perhaps they have pointers at good tutorials and even are willing to give a hand.

To learn C++, check out CPlusPlus and CPPReference. There are plenty of tutorials around elsewhere, but make sure to grab a new one (the language is still somewhat in flux). Then dig in and create patches for your favorite package. The first ones will probably be rejected or rewritten beyond all recognition by the stewards, but you'll learn a ton by looking at the changes.

  • $\begingroup$ cplusplus.com is extremely outdated. I would definitely not recommend it. Especially since you clearly indicate that it's important to "grab a new one". $\endgroup$
    – Fureeish
    Commented Jan 3, 2022 at 0:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.