Search:

Type: Posts; User: MadGooseXP

Search: Search took 0.00 seconds.

  1. File size ... well, that could be anything, and...

    File size ... well, that could be anything, and even executables can be tiny.

    File extension ... it's on a Solaris 8 system, and executables generally don't have extensions on Unix boxen.

    I...
  2. Thanks ... I figured there might have a built-in...

    Thanks ... I figured there might have a built-in way to test if a file is binary or text, but I probably figured wrong :)
  3. Determining whether a file is text or binary

    I'm taking a compiler design course now, and the first project is to write a rudamentary lexer. The next part of the project will involve using lex, so this program is mainly here to build an...
  4. Replies
    3
    Views
    1,505

    You know what? I feel so stupid. Here's my...

    You know what? I feel so stupid. Here's my original input file:


    UPDATE Customer SET CCITY='Boston' WHERE SSN=200005;
    INSERT INTO Vehicle VALUES (90711, 'Dodge', 'Intrepid', 2002);
    INSERT...
  5. Replies
    3
    Views
    1,505

    I'm using the version that comes with Oracle 8i,...

    I'm using the version that comes with Oracle 8i, which is Pro*C Release 8.1.6.0.0.

    The method I'm trying to use is listed here as Method 1. Since I'm only trying to do UPDATE, DELETE, and...
  6. Replies
    3
    Views
    1,505

    Embedded SQL ... should be quick ...

    Here's the code in question:


    FILE *inputFile;
    char *buff = malloc(sizeof(char[255]));
    inputFile = fopen(filePath, "r");

    while (fgets(buff, 256, inputFile) != NULL) {
    ...
  7. /me slaps forehead d0h. So used to C++ in an...

    /me slaps forehead

    d0h. So used to C++ in an older version of the g++ compiler ... no namespaces necessary there :p

    Thanks :D
  8. Reason I'm asking: #include ...

    Reason I'm asking:



    #include <iostream.h>
    #include <fstream.h>
    #include <io.h>
    #include <vector>

    void quickSort();
  9. Using STL with Microsoft Visual Studio C++ 6?

    I've tried using SGI's STL with MSVC++ 6, but it failed miserably.

    Basically, I'm making a Win32 console app that requires the Vector, String, and Set classes. Are these classes built-in to...
Results 1 to 9 of 9