Okay, after reading through PPP by Stroustrup, i've decided to do a small project based on the Top Trumps card game. Initially, it will just be a local console based game against the computer, then I will probably look to add more functionality such as basic graphics/network play etc.
I've finished reading the sections on vectors/classes, etc and just before pointers, so thought I would test my knowledge thus far.
I just wanted to check something with you guys first. My plan is to have 2 classes, a card class and a game class. The card class will basically be an outline of the cards stats. If I say want 30 cards in the game, would I simply create 30 objects of the class and store in a vector?
I will then have a game class, responsible for the game logic.