Hey all, just wondering how I would go about asking a user via cin, to open a specific output file? Whenever I try, it just opens a file named whatever they type in. I'm trying to "force" them to type in output.txt, it's for a class. I'm still very new to c++ so anything helps, thanks a ton!
That's a really weird design though. Why have them have to type in output.txt if the only correct answer is output.txt? It's almost like it's a password.