Search:

Type: Posts; User: Asym

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    10,493

    My code: int main () { Read = fopen...

    My code:



    int main ()
    {
    Read = fopen ("test", "rb");
    readfile (Read);
    fclose (Read);
    Read = fopen ("test", "r");
  2. Replies
    14
    Views
    10,493

    Then don't use Windows. ;D Also, what parse...

    Then don't use Windows. ;D
    Also, what parse function are you using? I couldn't find anything under man parse.

    (The file is being opened as binary to ensure ftell returns the exact number.)


    ...
  3. Replies
    14
    Views
    10,493

    Alright, so I've got it working. It's a lot...

    Alright, so I've got it working. It's a lot smaller and simpler than I thought it'd be too. Thanks for the help!
  4. Replies
    14
    Views
    10,493

    Thanks itsme, it works well now (no idea why it...

    Thanks itsme, it works well now (no idea why it didn't before however). (Thanks for pointing out that small bug as well.)

    I'll look into doing so CommonTater, I'll probably end up implanting it as...
  5. Replies
    14
    Views
    10,493

    [C] Reading a file using realloc

    Hello everyone,

    I'm doing to skip the introduction and just get to the code:



    #include <stdlib.h>
    #include <stdio.h>
    #include <string.h>
    char *output = NULL;
Results 1 to 5 of 5