Search:

Type: Posts; User: The gib

Search: Search took 0.00 seconds.

  1. Thread: help

    by The gib
    Replies
    31
    Views
    2,784

    hammer, I want to include file without suffix...

    hammer,

    I want to include file without suffix as well

    Can you help me fix the code? I already write them

    */
    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
  2. Thread: help

    by The gib
    Replies
    31
    Views
    2,784

    Hammer, You are the best. :)

    Hammer,
    You are the best. :)
  3. Thread: help

    by The gib
    Replies
    31
    Views
    2,784

    */ #include #include ...

    */
    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>

    struct treenode {
    char filename[256];
    struct treenode* leftchild;
    struct treenode* rightchild;
    };
  4. Thread: help

    by The gib
    Replies
    31
    Views
    2,784

    So, what should I write in code? I already try...

    So, what should I write in code?

    I already try write some code,but fail
  5. Thread: help

    by The gib
    Replies
    31
    Views
    2,784

    Is there a reference related to recognize the...

    Is there a reference related to recognize the suffix?and sort them out?

    The binary tree part is part is already done.

    I just need compare() and lastindex().
  6. Thread: help

    by The gib
    Replies
    31
    Views
    2,784

    Hammer, What do you suggest I should do in...

    Hammer,
    What do you suggest I should do in comparefunction and lastindexdot()?
  7. Thread: help

    by The gib
    Replies
    31
    Views
    2,784

    So, what should I do. I need lastindexdot() to...

    So, what should I do.

    I need lastindexdot() to recognize every string. Should i eliminate one function.

    Insertion() is not overengineer. It is a a recursion.

    I only have problem with...
  8. Thread: help

    by The gib
    Replies
    31
    Views
    2,784

    #include #include #include...

    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>

    struct treenode {
    char filename[256];
    struct treenode* leftchild;
    struct treenode* rightchild;
    };
  9. Thread: help

    by The gib
    Replies
    31
    Views
    2,784

    new version, :eek: #include ...

    new version,
    :eek:
    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>

    struct treenode {
    char filename[256];
    struct treenode* leftchild;
    struct treenode* rightchild;
  10. Thread: help

    by The gib
    Replies
    31
    Views
    2,784

    #include #include #include...

    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>

    #define size 15

    struct treenode {
    char filename[256];
    struct treenode* leftchild;
    struct treenode* rightchild;
  11. Thread: help

    by The gib
    Replies
    31
    Views
    2,784

    I have trouble connecting comparefile and...

    I have trouble connecting comparefile and lastdotindex suffix

    Help!
  12. Thread: help

    by The gib
    Replies
    31
    Views
    2,784

    #include #include #include...

    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>

    #define size 15

    struct treenode {
    char filename[256];
    struct treenode* leftchild;
    struct treenode* rightchild;
  13. Thread: help

    by The gib
    Replies
    31
    Views
    2,784

    I understand you are using strcmp to compare two...

    I understand you are using strcmp to compare two string.
    However, i don't understand the return value 16.

    I know you cut off the first value by using strrchr.

    Can you please elaborate on...
  14. Thread: help

    by The gib
    Replies
    31
    Views
    2,784

    help

    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>

    struct treenode {
    char filename[256];
    struct treenode* leftchild;
    struct treenode* rightchild;
    };
Results 1 to 14 of 14