Search:

Type: Posts; User: StackEverFlow

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    10,327

    gcc -g -Wall -Wextra topic4.c gdb -q ./a.out...

    gcc -g -Wall -Wextra topic4.c
    gdb -q ./a.out
    Reading symbols from ./a.out...
    (gdb) run
    Starting program:a.out


    Hash table built successfully.
    Maximum rehash time: 37
  2. Replies
    8
    Views
    10,327

    It does not fix the problem

    It does not fix the problem
  3. Replies
    8
    Views
    10,327

    so make it exitCondition[]={'0','\0'} ?

    so make it


    exitCondition[]={'0','\0'} ?
  4. Replies
    8
    Views
    10,327

    Strcmp causes segmentation fault

    I'm currently doing a hash search program. Here is the following code.


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

    #define M 12
    #define N 467
  5. Replies
    10
    Views
    3,748

    Thank you guys for the helps. I think it's fixed...

    Thank you guys for the helps. I think it's fixed now. I have a question for Salem. How do you get those error message in line 38-48 ?
  6. Replies
    10
    Views
    3,748

    Yes it is consistent now, it finished the table...

    Yes it is consistent now, it finished the table but it still got segmentation fault.
  7. Replies
    10
    Views
    3,748

    looks like the guy who edit it messed it up. for...

    looks like the guy who edit it messed it up. for almost every huffTable need index first than the propreties like huffTable[i].weight. I'll paste new one here


    #include <stdio.h>
    #include...
  8. Replies
    10
    Views
    3,748

    I couldn't find a way to edit the post. Googling...

    I couldn't find a way to edit the post. Googling it says that cboard doesn't allow editing after certain duration? by the way I forgot to input the data3.txt
  9. Replies
    10
    Views
    3,748

    I need help with my code

    This is my first post on this website.
    I'm currently doing my assignment on reading a text file and create a Huffman code for each alphabet.
    I'm still on the step to create the tree by picking...
Results 1 to 9 of 10