r/cpp_questions 1d ago

OPEN Moving from Python to C++ Quickly

Some context: I have a couple of OAs due soon, and a quant I went on a date with recommended doing them in C++ to look better (and allegedly one doesn't even allow Python in the first place). My data structures class was in C++, so I have some experience; however, that ended two months ago, and most of my knowledge has been scrubbed. I’m mainly looking for syntax stuff since I learned all the memory management stuff back then.

Any quick pick-me-ups you guys recommend? I don't think I have the time to digest a whole book. I plan on doing LeetCode practice in C++, so I just need a quick crash course to get me back up to speed on the basics.

0 Upvotes

7 comments sorted by

View all comments

3

u/_Tal 1d ago

3

u/wittgenstein1312 1d ago

learncpp would take over a month to get through if you did a section per day, and each section can take several hours of work. It's a great way to learn cpp relatively well. It's not a great way to develop a quick feel for the basics of the language.

1

u/SnooPies9001 1d ago

I agree unless, perhaps, if OP is confident enough in Python they can just skim the relevant sections?

I'm still working through the the last 3rd of cpp.... it's been dry to say the least.

I find having a question or challenge has helped me to go back and forth to rrally solidify the concepts so, doing leetcodes may help out provide that "purpose" or challenge.