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 wOOdy-Soft 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: *

  • Users: classic773
  • Content: Threads
  • Order by date
  1. classic773

    NTFS5 NTFS4 incompatability

    I just installed a 40 gb maxtor drive that was formatted and partioned on a win2k computer (NTFS) into my winNT machine. Certain directories will not open saying "file or directory is corrupt and non-readable". WinNt also says it cannot check the disk for errors. I think this may be...
  2. classic773

    Alternative for System( )

    Currently I'm using the System function as follows: system(&quot;del seqfile.txt&quot;); system(&quot;move seqfile2.txt seqfile.txt&quot;); system(&quot;seq_in_pts avgund.tif post_img.tif < seqfile.txt&quot;); However, I would prefer not to have the Command Prompt windows appear. I've...
  3. classic773

    recover deleted NTFS partition

    The primary hard drive in our WIN NT 4 machine died. (all disks scsi) I was trying to replace it. Accidentally deleted the only partition on the second hard drive? What do I do? I found: http://support.microsoft.com/support/kb/articles/Q245/7/25.ASP I'm thinking I should create a partition...
  4. classic773

    Recover deleted partition

    I accidentally deleted the only partition on a hard drive here at work. It was NTFS. I have not yet exited FDISK. How do I get it back? Please help, and reply soon.
  5. classic773

    Display tif file

    How do I Open and display a tif file? OleLoadPicturePath seems to work for everything but tiffs. It seems I could have IE display it. However I'm looking for the best way to do it, since I'm going to have to translate mouse movement into pixel displacement (unless there is a better way to do...
  6. classic773

    compiler/debugger

    Can anybody suggest a good compiler/debugger? I currently have visual studio 6 installed. I would like a compiler/debugger with the capabilities of visual studio 97 for stepping/variable values etc., however studio 6 doesn't have fortran, and I'm not sure it would be wise to have 97 and 6...
  7. classic773

    Visual Studio 6 or Visual Studio XP?

    The lab I work for is need of a couple more copies of Visual Studio 6. However, I'm wondering if another version is coming out soon, possibly including C#. Burtan says its the future of development.
  8. classic773

    Using relative paths... weird problem .. please help

    It is very important for me to be able to use relative paths in my program. The line: if(pref_file.Open(&quot;prefs.txt&quot;, CFile::modeRead | CFile::typeText)) Works fine when I'm debugging from within visual c++. However when I double click on the executable, it can't open the file...
  9. classic773

    Good Visual c++ book

    I hope my posts aren't annoying or occur too often.. I'm new to visual c++, and don't have a good book for it, and sometimes its easier to ask a question than to spend a bunch of time trying something that might not work. Can anybody recommend a good visual c++ book?
  10. classic773

    reading from file

    I'm using fstream to open and read from a file. I'm trying to put lines of text into CStrings. Since I don't know how to do this directly, I'm putting them into LPSTR's then setting the CStrings equal to the LPSTR's. However, when I do this, the CStrings just end up equalling &quot; &quot...
  11. classic773

    fstream &gt;&gt; CString error

    I'm getting a &quot;error C2678: binary '>>' : no operator defined which takes a left-hand operand of type 'class fstream' (or there is no acceptable conversion)&quot; from: fstream pref_file; CString something; pref_file.open(&quot;prefs&quot;, ios::in|ios::nocreate)...
  12. classic773

    I'm looking for a way to convert an

    I'm looking for a way to convert an int to a string. I found &quot;Convert.ToString Method (Int32, Int32)&quot; on the MSDN page, but its for .NET I'm not sure exactly what that is. can I use this method in visual c++ or is .NET a seperate language?
  13. classic773

    Assertion failures?

    I'm getting an assertion failure, as I previously mentioned in the 11th message of thread116-107726 When I commented out the &quot;delete&quot; portions of the code, I was able to prevent this assertion failure. There was another series of &quot;delete&quot; statements I had to comment out in...
  14. classic773

    Flush output buffer?

    I'm appending stuff to the end of a CString attached to a editbox, then UpdateData(FALSE); After that a bunch of processing goes on. However the screen doesn't actually show the change in editbox until the program is done executing. What command do I use to make this happen right after...
  15. classic773

    new line or end of line character

    How do you create an end of line in a CString. I have an edit box that I'm outputting text to. How do I format the Cstring to put text on a new line periodically. In c++ \n would create a new line, that doesn't seem to work here.
  16. classic773

    clear screen, home

    Are there functions to clear screen, or go to home?
  17. classic773

    How to pause for &quot;any key&quot;.

    How do I make my program pause until any key is pressed. My best is cin >> char, but that doesn't work for the enter key. I think it would if I could get it to input whitespace. Is there another way?

Part and Inventory Search

Back
Top