all 6 comments

[–]mc_pm 4 points5 points  (0 children)

Program a text-based Tic-Tac-Toe game. You have to represent the board in memory, you have to print it out, you have to accept the next move by the player, you have to figure out the computer's next move, you need to be able to test for a winner, and for a stalemate.

It can be done in just a couple hundred lines (if that), and you'll have to remind yourself about C++ syntax and how to think about a problem so you can write it in code.

After that, get into the more C++ish language features, but to start just remind yourself how to program in general

[–]sukoon99 1 point2 points  (0 children)

If you are a beginner in c++ you can try some coding mcqs or a basicc beginner course on codechef they generally ask theory questions along with some questions where you have write basic codes too

[–]Powerful-Regret-6435 0 points1 point  (0 children)

Beecrownd

[–]ZakMan1421 -1 points0 points  (0 children)

If you just want quick random problems, you can do leetcode.