New course! Every coder should learn Generative AI!
Try a free lesson+ 1
the hateful problem of programming
It's easy, I'm learning c++ at school but I'm a bit faster and I want to programme something. The problem is WHAT? Every possible answer will help
11 Answers
+ 11
Methinks the Code Playground is a good source of inspiration. Take underdog program examples and make them awesome :>
+ 2
ok thanks everyone I'm gonna google a bit for some ideas that came out there
+ 1
just make a simple text based game
+ 1
With c++ you can do form windows applications. Search on YouTube and Google there are a lot of tutorials and it s not so hard if you have motivation
+ 1
i like codingbat.com
+ 1
also check out codingame.com and codewars.com
0
What do yo know about C++?
0
actually I'm at functions
0
If you don't have patience to learn you will never be able to program. So, you should learn a programming language as it is and then you can go program some real stuff. The world of programming is big, really big, so be more explicit when you say you want to program something
0
Vlad you're right, I was only asking some ideas on what to programme in "freetime", because I've already done all the classic exercises suggested by google (geometrical calculation, array unions etc), I was thinking of math or string programs
0
Try to make a function that takes an array of ints and an int (n) as arguments, and returns all the permutations (the order matters) of n numbers of the original array. For example:
func({1,2,3},3) returns {{1,2,3},{1,3,2},{2,1,3},{2,3,1},{3,1,2}{3,2,1}} and func({1,2,2},2) returns {{1,2},{2,1}}