Where can I get exercises for C++ OOP?

I always had problems with C++ OOP. Recently I’ve finished an online course on OOP and I don’t want to lose all the knowledge I’ve learned so I want to do some exercises. There aren’t really any good ones on the internet it seems or at least I can’t find any. All the ones I've found were quite easy (do some basic inheritance and stuff) and I finished them all. Please provide me with some links to exercises of all difficulties (would be nice if there were solutions too). Thanks! :)
All the ones I've found were quite easy
In my opinion, this indicates it's time to try something less simple.

You can shoehorn anything into an object-oriented design. The tricky part is using your discretion about the design of programs and parts of programs when deciding if an object-oriented design is a good idea. I don't have a list of exercises, but I do have a few suggestions for simple projects, the point of which aren't to test whether you can correctly inherit from a base class, but hopefully to offer some insight about how to write a real program with them:

In an object-oriented style, develop
1. an asteroids clone;
2. a (minimal) interpreter for the programming language Forth (because parsing Forth is entirely trivial);
3. a program that solves Sudoku puzzles;
4. the Snake game;
5. Conway's Game of Life;
6. a program that solves simple equations symbolically
7. your idea

If I had to guess, I'd think that between #1 and #6, #2 is the most difficult (and the most interesting), and #4 is the simplest. I tried to think of programs which lend themselves to an object-oriented design, but this is ultimately my opinion, so pick something that sounds interesting and design a little bit. There are plenty of project ideas on the internet.
Topic archived. No new replies allowed.