C++ exercises

Hey, I've been trying to find a good website or E-Book that would give me a good chunk of exercises. But I couldn't find any or at least challenging ones. I was wondering if you guys know where I could find C++ exercises ?
https://www.spoj.com/
6699 problems should keep you busy for a while.
Have you no own Ideas? At myself, I learned the most stuff not from boring exercises but by writing real, challenging programs like whole games. What about writing a game like "Hunt the Wumpus"? This could make you think about OOP design, linked lists, saving/loading stuff, and when you have tackled this, you could make a GUI for that.
Agree with nuderobmonkey.

Also, sometimes there are things that are just fun to mess with. Here are some I've done in the past:

Alrighty the DISPLAY Pascal’s Triangle Challenge
http://www.cplusplus.com/forum/lounge/227531/

Number to Words Challenge
http://www.cplusplus.com/forum/lounge/74394/

Bignum Challange
http://www.cplusplus.com/forum/lounge/32041/

Get Dressed & Eat a PBJ Challenge
http://www.cplusplus.com/forum/lounge/228897/

Well, that’s all I can think of off the top of my head. Enough time wasted...

Enjoy!
... no[t] boring exercises but by writing real, challenging programs ...

Yep, reinvent the wheel (so you already know how the result could look like). How about a Brainfuck interpreter, but one with all bells and whistles, videlicet trace, brakepoints, ...
see https://en.wikipedia.org/wiki/Brainfuck about BF, looking for its interpreters you will find some useful and many not so useful.

Something more useful? Yes, bring Pipeline as it works on VM/CMS to the PC world. Once it multiplied the value of the mainframe by factor 2..3 for me (analysing and manipulating large tables of 65 columns and 20'000 rows and more). Find a 997 pages user manual here: http://vm.marist.edu/~pipeline/#TheBook
If you manage to migrate this concept, you will go down in history like Steve Wozniak for example. Others tried it years ago, alas the links are dead today.

Edit: Just removed my Pipeline examples, someone told me, there is a PC replacement, alas 'IBM Internal Use Only'. So it does not exist for me.
Last edited on
Topic archived. No new replies allowed.