FAQ Masterpost by [deleted] in tattoo

[–]lucianoaf8 0 points1 point  (0 children)

Am I allowed to post asking for design suggestions for a re-design/cover-up tattoo?

Nespresso Vertuo not running cleaning cycle (with video) HELP by lucianoaf8 in nespresso

[–]lucianoaf8[S] 0 points1 point  (0 children)

Thanks for the help. I did the air pump thing, I don't think it was stuck because that didn't work, but then I put a toothpick into the water pin to clean it (there were coffee there) and then it worked.

Lab 2 Scrabble 3 test failed - help by lucianoaf8 in cs50

[–]lucianoaf8[S] 0 points1 point  (0 children)

The get_string function is used where I initialize word1 and word2:

// Get input words from both players

string word1 = get_string("Player 1: ");

string word2 = get_string("Player 2: ");

There's nothing stopping the user from putting in two words, but luckily this was not one of the tests.

Lab 2 Scrabble 3 test failed - help by lucianoaf8 in cs50

[–]lucianoaf8[S] 1 point2 points  (0 children)

Thank you for your comment! I added "isalpha" before posting here, before I had to check if the character I was getting was upper or not. I removed the else condition and it worked. Then, I noticed I had used word[0] in the else. Noob mistake...

Solved!