I have this for a HW assignment and I'm supposed to give the entire output of the code but it crashes when I run it, so I can't even see the errors. Help appreciated!
No you can pass command-line arguments in Windows too, from the command prompt, or if you run your program from an IDE you can probably set the arguments to pass to the program in the IDE somewhere.
Open up the command prompt (cmd.exe) and navigate to the directory where the exe file is located using the cd command. To run the program with the arguments you write the name of the exe file followed by the arguments separated by space and press enter.