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

Started by
3 comments, last by IkarusDowned 11 years, 3 months ago

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.

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.

http://sixrevisions.com/resources/10-puzzle-websites-to-sharpen-your-programming-skills/

http://www.spoj.com/tutorials/USERS/

http://www.itmaybeahack.com/homepage/books/oodesign.html

Beginner in Game Development?  Read here. And read here.

 

That stuff usually shows up at the ends of the chapters in a good tutorial book.

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.

This topic is closed to new replies.

Advertisement