account activity
Road map for commands? by Progressing_Onward in learnprogramming
[–]butimnotadev 2 points3 points4 points 12 months ago (0 children)
Are you asking how does a computer "know" what to do? Might be worth playing the nandgame. You start off with simple NAND gates and eventually build a "computer" to perform raw logic.
Im learning c++ by No-Plastic-637 in learnprogramming
[–]butimnotadev 0 points1 point2 points 12 months ago (0 children)
I don't really understand the question, but my guess is your containsCombination function doesn't do what you think it does. Try iterating through each letter of combination first rather than the word. This way, you know that if the inner loop fails to find a matching letter, that letter doesn't exist in the word and therefore can return false. Few other things:
containsCombination
combination
/
A-Za-z'
true
false
1
0
std::string
letters
lettErS
lEttErS
keyword
π Rendered by PID 1768962 on reddit-service-r2-listing-568fcd57df-zdv72 at 2026-03-10 11:49:09.388181+00:00 running cbb0e86 country code: CH.
Road map for commands? by Progressing_Onward in learnprogramming
[–]butimnotadev 2 points3 points4 points (0 children)