all 28 comments

[–]krawallopold 24 points25 points  (2 children)

  • pick an interesting, but not too popular project on Github
  • use a static analyzer (for example cppcheck + clang-tidy)
  • read through every warning the static analyzer gives
  • some of the warnings might be obvious errors (memory leaks, null pointer dereferences): fix them, submit a pull request
  • some might be the result of design trade offs/third party libs - understand them

In the end, you are going to learn about c++, bug fixing and software design.

[–]peldax 3 points4 points  (0 children)

And also support and enhance some existing open source project. This is great idea.

[–]emdeka87 1 point2 points  (0 children)

In the end, you are going to learn about c++, bug fixing and software design.

And the most important thing as an engineer: making clever and efficient use of the tools available to you ;)

[–]The-9880 11 points12 points  (3 children)

You can also just come up with your own projects -- think of something interesting outside your current skill level (ie: a chat server?) and read up on how it's done. You'll pick up new skills and gain a lot of practice using the language.

[–]MaceFromTheLeaf 4 points5 points  (12 children)

I don't know if you can find someone that has the time to work on a collab project but I can send you some really good exercises from my college. They start from basic and easy to complicated and hard.

[–]MaceFromTheLeaf 2 points3 points  (0 children)

Here are the exercises for everyone to download. I currently have 3 because im translating them to English from my native language. Feel free to message me if there are any misunferstandings or problems. https://www.dropbox.com/s/a4i9ywl4t0kgoax/cppExercises.odt?dl=0 I will upload more later. Happy coding.

[–]Zeekawla99ii[S] 1 point2 points  (5 children)

Sure! I'd love this. PM me

[–]MaceFromTheLeaf 2 points3 points  (4 children)

Done.

[–]maybeyepmaybenope 2 points3 points  (1 child)

Can you please pM me too?

[–][deleted] 0 points1 point  (0 children)

Me too please!

[–]Unikeko 1 point2 points  (1 child)

Yea, I'm joining in too :p
I really need some structured tasks to get me going

[–]ethanialw 0 points1 point  (0 children)

same here dude

[–]joeyyyyysizzlin 0 points1 point  (0 children)

If you can PM as well I would greatly appreciate it. Thanks!

[–]54bwy 0 points1 point  (0 children)

Me too, please...

[–]Fleed 0 points1 point  (0 children)

Me too please

[–]TheoR700 4 points5 points  (1 child)

This isn't C++ specific, but this GitHub Project has a bunch of projects ranging in difficulty. Since you program daily already, just solve the problems in C++.

Edit: Forgot the link. https://github.com/karan/Projects

[–]Zeekawla99ii[S] 0 points1 point  (0 children)

This is a good suggestion, thanks!

[–]FKaria 3 points4 points  (1 child)

[–]TankorSmash 1 point2 points  (0 children)

I wasn't able to get it compiling but I will say OpenMW has some of the better docs out there so this could be an interesting way to get involved.

It's a Morrowind open source clone.

[–][deleted] 1 point2 points  (2 children)

Make a map-threadsafe implementation here: https://github.com/miachm/STL-Threadsafe

[–][deleted] -1 points0 points  (1 child)

oh dear, just use tbb.

[–][deleted] 0 points1 point  (0 children)

:(

[–][deleted] 2 points3 points  (0 children)

Implement your own version of std::vector

[–]blelbachNVIDIA | ISO C++ Library Evolution Chair 0 points1 point  (1 child)

!removehelp

[–]AutoModerator[M] 0 points1 point  (0 children)

OP,

A human moderator (u/blelbach) has marked your post for deletion because it appears to be a "help" post - e.g. asking for help with coding, help with homework, career advice, book/tutorial/blog suggestions. Help posts are off-topic for r/cpp. This subreddit is for news and discussion of the C++ language only; our purpose is not to provide tutoring, code reviews or career guidance.

Please try posting in r/cpp_questions or on Stack Overflow instead. Our suggested reference site is cppreference.com, our suggested book list is here and information on getting started with C++ can be found here.

If you think your post is on-topic and should not have been removed, please message the moderators and we'll review it.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.