If the user is going to run my executable but specifies differing filenames each time it is run:
e.g., MyProg file1
e.g., MyProg file2
where file1, file2 are text files, how do I handle this? I can handle it using .open("filename") but I'm not sure how to do it otherwise...
Thanks-you.
e.g., MyProg file1
e.g., MyProg file2
where file1, file2 are text files, how do I handle this? I can handle it using .open("filename") but I'm not sure how to do it otherwise...
Thanks-you.