Search:

Type: Posts; User: Butters007

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,701

    ok thanks so much for your input everyone, you...

    ok thanks so much for your input everyone, you really saved me.

    It works, but i think its shoving all names into each one of the 6 buckets. because no matter what i change the "pLocal =...
  2. Replies
    6
    Views
    1,701

    i'll try that stuff out. to tell you the...

    i'll try that stuff out.


    to tell you the truth, my teacher wrote all that malloc stuff and casting stuff.

    and yes i was trying to have a string of a single character because the program was...
  3. Replies
    6
    Views
    1,701

    segment error?

    I am sopossed to edit a prebuilt program to include some extra stuff for a hash table, it is not done yet. When i compile it, i get errors on line 139.


    "operands of = have illegal types 'array...
  4. Replies
    8
    Views
    1,533

    thanks works like a charm

    thanks works like a charm
  5. Replies
    8
    Views
    1,533

    an input line would be this: John Van Damm;123...

    an input line would be this:
    John Van Damm;123 Fake Street;Coon Rapids


    the only toruble is breaking up the name
  6. Replies
    8
    Views
    1,533

    splitting up names (strings)

    This code works for names which have 1 word lastnames, but not for 2 word last names (such as Van Damm). How can I get the whole last name?



    while(fgets(line, sizeof(line),...
  7. Replies
    4
    Views
    1,065

    i just dont want a large linked list.... where...

    i just dont want a large linked list.... where do the 6 buckets come into play? thats the thing, i dont know how to insert it. say i get "14" as a key. how do i insert a the name/address/stuff...
  8. Replies
    4
    Views
    1,065

    hash stuff... what next?

    I am reading from a file 3 things, name, street, and address. And I want to put it in a hash table with 6 buckets for easy access. I searched around and got some code which started me out. but...
  9. Replies
    7
    Views
    12,656

    reading file and strtok

    I have a text file that has about 50 lines of text like this:
    Nancy Bush;2607 Avenue;Atlanta

    I am sopossed to put it into a hashtable, but right now im just reading in the text.

    My snipped of...
Results 1 to 9 of 9