Jul-13-2019, 12:46 PM
Well, that's not a problem with the program. You are just not providing it with the command line arguments it needs.
You have a couple open ended slices there, so it seems like you could have a long list of command line arguments. That does not strike me as a good way to get data into the program. I would rewrite all of this as a function, that could take exam, folder, and a file name as parameters, and then read the open ended stuff (the exam questions?) from the file. Then call the function with the appropriate parameters.
You have a couple open ended slices there, so it seems like you could have a long list of command line arguments. That does not strike me as a good way to get data into the program. I would rewrite all of this as a function, that could take exam, folder, and a file name as parameters, and then read the open ended stuff (the exam questions?) from the file. Then call the function with the appropriate parameters.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures