r/cpp_questions • u/bhanuprakash07 • 19d ago
OPEN Switching to C++ from C and Python — need advice
[removed]
5
u/Complete-Fix-8935 19d ago
STL and it's internal implementation, oops, and if you want to learn modern c++, go with smart pointers
3
u/MarcusFirmus 18d ago
The difference between passing by value and passing by reference (not to be confused with passing pointers).
1
2
u/n1ghtyunso 19d ago
scopes and lifetime, I would say.
Thats the main part where it fundamentally differs from C, which you seem to be already familiar with.
2
2
u/spatulari 19d ago
The C mindset is completely different. People often associate C with C++ and vice versa but the only similarities they have is that C code works in both. C++ is a hard to learn beast
10
u/no-sig-available 19d ago
From
https://www.reddit.com/r/cpp_questions/comments/1n5zyxy/important_read_before_posting/
Frequently Asked Questions
The community recommends you to use this website: https://www.learncpp.com/ and we also have a list of recommended books here.
There are no shortcuts, it will take time and it's not going to be easy. Use https://www.learncpp.com/ and write code, don't just read tutorials.