Any interesting programs for the summer?

Jul 20, 2015 at 8:30pm
Well it's the summer and I have a lot of free time, so now I'm asking you could you tell me some fun and interesting programs, which would possibly require the use of structures, classes and pointers, and help me get an understanding of them.
Thx!!!
Last edited on Jul 20, 2015 at 8:30pm
Jul 20, 2015 at 9:14pm
Try solving some of these problems from the ACM ICPC problem archives:
https://icpcarchive.ecs.baylor.edu/

Project Euler is also fun:
https://projecteuler.net/
Jul 20, 2015 at 9:35pm
The first link is a bit difficult to navigate in, but i think I'll manage and the project Euler is fun, but more mathematical.I'm looking for some programs help me get a good understanding of classes, structures and pointers.But thx for the links ill be sure to check them out.
Any more ideas?
Edit: Also if you have any other ideas that would help me better understand classes, structures and pointers, pls share them with me.
Last edited on Jul 20, 2015 at 9:47pm
Jul 20, 2015 at 10:12pm
Also if you have any other ideas that would help me better understand classes, structures and pointers, pls share them with me.

Practice with them. Practice is where most of learning and knowledge retention comes from.
I really enjoyed competing at ICPC every year at university. The problems on there range in difficulty. You can usually tell which one is more difficult based on how many have solved it. Also, you can submit your C++ source code and it will be automatically checked by the online judge robot.

Here are a few of the easy ICPC problems I've come across in the past:

sorting using a different alphabet
https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=619&page=show_problem&problem=4510

Sometimes you don't need to go through every possible permutation
https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=619&page=show_problem&problem=4508

Who doesn't like juggling?
https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=576&page=show_problem&problem=4111

Project Euler is also good in the sense that you can verify your answers.
Jul 20, 2015 at 10:39pm
Hmm that looks great.Thx.
Anything else?
Jul 20, 2015 at 11:31pm
Try designing a concert ticket selling type of program. That should be a good example for using classes/structs.

Common interview question:
What is/are the difference(s) between classes and structs?
Jul 21, 2015 at 11:41am
Try designing a concert ticket selling type of program

You could design an inheritance tree for different types of tickets or seats to practice polymorphism with pointers?
Last edited on Jul 21, 2015 at 11:42am
Jul 22, 2015 at 11:41am
Sorry i couldn't respond sooner.
Thx guys I'll try those.
And if anyone has any more ideas pls post them here.
Topic archived. No new replies allowed.