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.
Every example I've seen involved file stream objects either hardcodes the filename or when writing to file, merely hardcodes the input.
What I'm trying to do is open a pre-existing text file, have the user type in a file name, and save the data from the opened text file into the user-defined...
I use the "Print Screen" button on the keyboard to save a graphic I want to use/share later. I open up clipboard and see the graphic and can save it as a .clp file. I can also save it as a .bmp or .jpg but the file is not recognized by MS Paint or Paint Shop Pro. When I reboot, the...
Well, this is crazy. I tried fixing the file associations but the problem still persisted.
I decided to reinstall XP and IE and the problem is still there.
I guess I'll just copy and paste instead.
1) I unchecked all third-party extensions. I only have Internet Download Manager. The problem still occured.
2) I ran SFC /Scannow. The problem still exists.
3) I used regedit to reinstall IE6 and Windows Update to update everything. The problem still persists.
4) I tried reinstalling...
I've deleted all my temporary internet files and ran a virus check successfully. I have plenty of RAM and HD space. Yet, every time I try to right-click and "Save As" in IE, the browser hangs and I have to force-quit back to windows. This also happens if I try and use the File menu...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.