Search:

Type: Posts; User: pboy

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    5,148

    Upon further investigation, I found that my...

    Upon further investigation, I found that my merge_to_open() function is not doing what I think it is. It is not adding some nodes that should be added.
  2. Replies
    11
    Views
    5,148

    Good catch. I made the change and it did not...

    Good catch. I made the change and it did not affect the infinite loop.
    Is this better? [C] #include <stdio.h> #include <stdlib.h> #include <string.h> #include <pthread. - Pastebin.com
  3. Replies
    11
    Views
    5,148

    Full code: #include #include...

    Full code:



    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <pthread.h>
  4. Replies
    11
    Views
    5,148

    Yes I have it all in a single file. It is pretty...

    Yes I have it all in a single file. It is pretty long so what's the best way to post it? Just paste it here?
  5. Replies
    11
    Views
    5,148

    Linked List Infinite Loop

    I'm implementing the A* algorithm in order to solve a 15 puzzle: 15 puzzle - Wikipedia

    It works fine for simple puzzles with few steps but when doing more complex puzzles, the program enters an...
  6. Replies
    5
    Views
    11,572

    But if I remove only the newest directory...

    But if I remove only the newest directory wouldn't that that still leave the higher level directories in fullpath?
  7. Replies
    5
    Views
    11,572

    Forgot a continue statement when I posted my code.

    Forgot a continue statement when I posted my code.
  8. Replies
    5
    Views
    11,572

    Getting a relative path from a dirent

    Hey guys

    I have a function that recursively searches a directory tree for files and grabs their size and name.


    void printdir(char *rdir, char *dir, char *fullpath, int depth, int fd)
    {
    ...
Results 1 to 8 of 8