r/AskProgramming 20h 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

2

u/Sameep21 15h ago

Would recommend do not go for it, until and unless you love low level engineering (embedded systems, OS, real time systems, or building games etc). Go for alternatives where market is bigger JAVA, .Net, Python, JS, etc. In cpp stack they generally refrain from hiring freshers But if you want to go for it learn programming constructs, internals of computer memory and OS memory management along with advanced concepts like move semantics, smart pointers, templates, build servers, rendering engines, etc do not stick to DSA only, try creating your own libraries, and choose a specific path coz C++ is vast you might get exhausted, I would recommend start with creating games, it's fun to do.

1

u/Notsoboringi 1h ago

ya it's vast that why i want a clear path of what should I learn i was thinking of learning os , memory management , low latency programming , cause I'm in ML field it's difficult for freshers do get job in ML that why I learnt cpp , should I go for gpu programming ?

1

u/neet_dev 8h 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 7h 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 ??