If you’re reading this, there probably aren’t very many posts yet. But don’t worry, you can be the first! Either create a new post or just reply to this one to say ‘hi’.
Using the “using namespace std” code worked for me, but when I closed the program, it asked where I wanted to save the “output” file.
It seems there is a risk that “cout” refers to more than one function/command and it was calling on a command that wants to output the text in the program as a .txt file.
This appears to be the risk of using the “using namespace std” code.
EDIT: Interestingly, the teacher did not mention any of this in the actual course after the challenge. I am confused whether I did something wrong, or if this was a special test to see if we would actually attempt the challenges.
EDIT: I think I must have done something wrong, because the program is not asking for an output file anymore…