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.
Anyone know of a good "practice" resource in terms of C++?
Prime Members - Reputation: 769
Posted 24 December 2012 - 04:45 PM
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.
Crossbones+ - Reputation: 4700
Posted 24 December 2012 - 09:14 PM
Edited by Alpha_ProgDes, 24 December 2012 - 09:19 PM.
Super Mario Bros clone tutorial written in XNA 4.0 [MonoGame, ANX, and MonoXNA] by Scott Haley
If you have found any of the posts helpful, please show your appreciation by clicking the up arrow on those posts
Members - Reputation: 291
Posted 26 December 2012 - 08:57 PM
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.