+ 2
Are there any c++ projects/challenges that allow you to put what you learn into practice?
I have just learned about classes and am now looking at Inheritance and Polymorphism. I feel like I understand it but as we all know best way to learn is to put what you "know" into practice. I can't think of a particular idea to test/implement with regards to classes and such. So does anybody have projects/challenges/ideas that can be tried an tested. e.g. see this code here...execute it.....do you understand how it works?.... okay now implement such and such to prove it (nor sure that makes sense)
3 Antworten
+ 2
Some ideas:
Simulate the game of life.
Make a command based text editor like ed.
Make a chess engine.
Make a text adventure (engine).
Solve equations.
Websites:
https://reddit.com/r/dailyprogrammer
https://projecteuler.net
https://codewars.com
+ 1
One thing that I did a while ago was to make a small library that simplified files. You probably haven’t used files yet, but there are other difficult parts of C++ that you could simplify through classes.
0
Codingame is a great site with puzzles to practice coding. I learned a lot from it.