Recent content by CodeJockey

  1. C

    Notebook won't POST, need help recovering files

    I simply entered "2.5 to 3.5 ide drive adapter" into Google and found several places that carry them.
  2. C

    Notebook won't POST, need help recovering files

    Thanks motoamd, that looks like just the thing. I sent an email to the article's author requesting info, but, in case he is too busy to respond, any idea where such an item would be available? <edit> Never mind, I should use Google before I ask such questions. :o Thanks again for the link...
  3. C

    Notebook won't POST, need help recovering files

    Does anyone know anything about the Philips TravelMate 590 notebook? It gets through the RAM test, displays "Press F2 for SETUP", then locks up. Pressing F2 does not result in SETUP mode. We (it's my sister's notebook) desperately need to fix this, or at least recover files from the HD...
  4. C

    Simple question to all *nix programmers!

    VC++ has a feature, under the Project menu, to Export Makefile... It should be able to generate an NMAKE makefile for you. This can act as a starting point for a Linux makefile. It may be easier to just build a new makefile from scratch, though, rather than edit the generated VC++ one to fit...
  5. C

    Canada fella needs help

    The C$ price will automatically be about 1.6 times the US$ price, just due to the exchange rate. Other factors like higher taxes and higher costs of doing business up here account for the remaining difference between US prices and Can. prices. Here are a couple more sites...
  6. C

    Help with environment variables

    Frank, Use Regedit to directly change the registry on each system. Choose the Registry->Connect Network Registry... menu item, then enter the system name and make the changes. I can only describe how the entries work in Windows 2000, but it should be similar if you are using a different...
  7. C

    Compressing Arrays On-The-Fly?

    Regardless of the way that the switch and the broadcast to the other nodes works, compressing the data will be of benefit. Also, could you begin transmitting the data while you are still generating it, or must it all be generated first? It would save time to have these two functions (three...
  8. C

    Is there anyway to prevent an Excel file from being opened in another Office program?

    The only way would be to remove Word and Access from their systems.:D Assuming that you can't do that, the alternative is to either train them to use the correct application, or to provide an easy way for them to use the correct application. If they keep working on the same document over and...
  9. C

    Assigning char * to CString Object :: C++

    That's up to you. The CString itself will add a null terminator to it's internal copy of the string, after the specified number of characters have been copied. Examples: CString str3( "abc", 3 ); // str3 = {'a', 'b', 'c', '\0'} CString str4( "abc", 4 ); // str4 = {'a', 'b', 'c', '\0', '\0'}...
  10. C

    Assigning char * to CString Object :: C++

    Based on your example code, you could also use the CString constructor: Instead of CString myString; use CString myString( myChar, 10 ); which will construct the CString and initialize it with the 10 characters from the myChar array.
  11. C

    my compiler doesn't understand string, need new compiler

    Chooco, The most likely cause of your problems is that you either didn't unzip the files into the proper directories, or you didn't preserve the long filenames when you unzipped them. From the documentation (Readme1st.doc): Check to see if you have the C:\DJGPP\INCLUDE\SYS\SYSMACROS.H file...
  12. C

    MS Programmers --- Visual Source Safe ???

    We use VSS for all our projects, and it works very well. If you have developers working from remote locations, get SourceOffsite, which improves the performance over a slow Internet connection. One other major feature (PVCS and probably all other Source Control packages also have it) is the...
  13. C

    C programming help.

    Unfortunately, the only way to really understand arrays and pointers in C is to use them. Write programs that use them, make mistakes, pull your hair out, find the problem, hit yourself on the head for making such a stupid mistake, fix the problem, repeat and repeat, and repeat. Everyone...
  14. C

    C shell script help!!

    << You say "C shell script". Do you mean you're writing this in C, or you want a true shell script? These are awfully different things. If you want a shell script, which shell? If you're doing this in C, which platform? >> The "C Shell" is csh, as opposed to the "Korn Shell" (ksh), or the...