Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Puritan2

    File input without specified file name?

    #include <cstdlib> #include <iostream> #include <fstream> using namespace std; int main(int argc, char *argv[]) { ifstream in; in.open(argv[1]); } //This worked. Thanks!
  2. Puritan2

    File input without specified file name?

    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.
  3. Puritan2

    Saving input file to user defined output file

    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...
  4. Puritan2

    How to save graphics from clipboard?

    Thanks so much!
  5. Puritan2

    How to save graphics from clipboard?

    I use the &quot;Print Screen&quot; 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...
  6. Puritan2

    IE6/WinXP Pro - &quot;Save As&quot; causes crash

    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.
  7. Puritan2

    IE6/WinXP Pro - &quot;Save As&quot; causes crash

    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...
  8. Puritan2

    IE6/WinXP Pro - &quot;Save As&quot; causes crash

    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 &quot;Save As&quot; 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...

Part and Inventory Search

Back
Top