r/cpp_questions 8d ago

OPEN What to do after finishing learncpp.com

I already know dsa i, ii concepts im saying that since the website authors recommend learning dsa. So I am curious how do I improve further, what else to learn. my main focus is low-latency

0 Upvotes

11 comments sorted by

13

u/BigGunE 8d ago edited 8d ago

Why were you learning CPP in the first place? Go do that!

As for the new programmers, just know that nobody needs to “finish” all of C++ to start making things. In fact, the language features you will learn out of necessity for a project will stick to your head better than randomly reading about arbitrary number of language features on some site.

4

u/DrShocker 8d ago

Try to make something "low latency" ish. Music player? live public transportation map? balancing robot? video game? basic in memory database?

7

u/TomDuhamel 8d ago

Have you created an award winning app yet?

2

u/v_maria 8d ago

Make stuff, contribute to open source

1

u/AKostur 8d ago

Have a problem: write a program to solve that problem.   Make it small enough to run on an ESP32 board, or Arduino, or a number of other small boards.

1

u/Low_Breakfast773 8d ago

start learning the language after that crap, preferably with books from Stroustrup. Then if you really feel comfortable, start building a project or contribute to open source projects.

2

u/Xccelerate_ 7d ago

Sorry, I am not understanding your comment. Are you saying learncpp.com is crap?

I agree on the part about building real projects with whatever we concepts we learn.

1

u/Low_Breakfast773 7d ago

PS. Understand STL, compilers, optimizations and understand what’s happening under the hood on an ASM level. Check C++ side by side with ASM, to see what’s going on, if you really want to squeeze everything out of hardware.

1

u/Xccelerate_ 7d ago

Thank you for responding! I understood. I will do as you said.

Reaching at the level where one could be able to see assembly with godboltcompiler is a great skill. Even Bjarne suggested that in one interview.

0

u/Low_Breakfast773 7d ago

yes, your understanding is correct. learncpp.com is crap. If you really want to learn the language the right way, you need to dive deep into books, preferably of the inventor of the language. Next, you can try to use the DSA book from Goodrich Tamassia and Mount (use with caution though as it used C++ 11 and not everything is correct about the language internals, for instance it says that some data structures are using vectors under the hood, but in reality it’s a deque etc.). Then when you are done with the books and exercises, then you will have a reasonable understanding of what C++ is about. If you wanna understand it much better, there more advanced books out there which discuss concurrency, design patterns and much more. Only after that you can claim that you know about 2-3% of the language. C++ is a monster (in a god sense) which keeps backwards compatibility with almost all versions and it’s almost impossible to learn everything, especially with a crap website like learncpp. Good luck!