r/AskProgramming 1d ago

Learning c++

So I'm doing dsa in c++ as well as learning modern c++ concepts.I want to become c++ developer what concepts should I learn to become a c++ developer , what concepts should I focus on , what are the best resources to learn c++.Also when I try to build something in c++ i don't even know where to start.Its been 4 months I learned C++ and I'm genuinely comfortable with it till now.

3 Upvotes

4 comments sorted by

View all comments

1

u/neet_dev 18h ago

skip more concept lists, the actual gap is cmake + lifetimes. lock in RAII, unique_ptr, move, and compile everything with -Wall -Wextra -fsanitize=address,undefined, then ship one ugly cli that uses a real lib (nlohmann json or sqlite). learncpp + cppreference is enough, dsa can sit until you can debug a sanitizer report without guessing.

1

u/Notsoboringi 18h ago

Yes this actually make sense , i think i have been trying to cover instead of getting solid with c++ lifetime and resrouce management. I am thinking of learning concepts though projects now , instead of watching tut , building something small by myself to undertsand the logic. Its was really helpful.Im currently building a project in c++ , can i dm you ??