Jump to content
  • Advertisement
Sign in to follow this  
GraySnakeGenocide

Anyone know of a good "practice" resource in terms of C++?

This topic is 2178 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What I mean is, something that gives you exercises to practice specific aspects of a language? IE focusing on pointers, focusing on classes, focusing on polymorphism, etc? I have a million good resources to learn the stuff, I just have no idea how to practice using the stuff I'm learning in a sense.

Share this post


Link to post
Share on other sites
Advertisement

You could always just focus on a small mini project like a calculator or something and whenever you are unsure about something read up on it, eventually you will spend more time doing and less time reading. Obviously you will want you mini project to contain all the areas you want to improve in.

 

I am not familiar with any exercise sites, but from the ones that I have seen in books, I would say you will probably learn more if you set the goals yourself within one project and expand on it.

Share this post


Link to post
Share on other sites

for general programming tricks and practice Alpha_ProgDes has provided an awesome list.

 

if you are looking for practice with things like polymorphism and such things, here's a suggestion:

 

if you haven't already, pick up a book on Design Patterns. Most of these books provide sample programs and examples for each of the major design patterns. In my opinion, if you are comfortable with C++ syntax and mostly want to challenge yourself with classes, polymorphism, etc., then it might be easier to pick a Java-based Design Pattern book and simply do the examples in C++. This is a matter of comfort, and remember that you won't get the more C++-only stuff out of such a case (such as static polymorphism)

 

go through the design patterns and you will generally understand how C++ deals with pointers, classes, polymorphism, etc. It will also build your confidence up.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!