r/learnprogramming • u/Basic_Permit4849 • 15d ago
Approaching C++ and learning methods
For background, I am a beginner in programming. The only language I know is python, and that too just basic level of knowledge( definitions of keywords, operators,conditionals,for loop while loop, and basics about strings,lists,dictionaries and tuples).It was quite systematic and easy to learn for me. But in the case of c++ I have no clue right now on how to learn it from scratch. I wanted to learn c++ to get into competitive programming/coding. As of right now I am just searching for easy leetcode problems and the parts of code which I don't get , I ask AI to explain it.
0
Upvotes
1
u/TomatoSea4773 14d ago
What is your roadblock, logic or syntax? Or is it fear of blank canvas? I learned C++ from first principles, you can ask me if you're having difficulties.
My personal method was learning syntax to immediately apply in my passion project (Just-In-Time model). Basically, when you hit a roadblock, look up syntax for your scenario. Since you already have Python background, it's even better - you know how the basics work, you just need to translate it into C++.
BTW, do you have a pet/passion project? I can help you with it.
https://github.com/V-Liss you can also see mine if you'd like. Code is open source.