Search:

Type: Posts; User: 1999grandamse

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,742

    I am not sure if that will work? Maybe someone...

    I am not sure if that will work? Maybe someone else can help more with fseek?? is that used for searching quickly based on the KEY?
  2. Replies
    5
    Views
    1,742

    the binary hash file is composed of 60 byte...

    the binary hash file is composed of 60 byte structs. how can i search such a file with NAME as the key?
  3. Replies
    5
    Views
    1,742

    it is a binary file?? does that help?

    it is a binary file?? does that help?
  4. Replies
    5
    Views
    1,742

    Please Help with Searching

    i am confused on something...
    i have made a hash file, now how do i use the key to search it?
  5. Replies
    1
    Views
    1,128

    let me rephrase: i have one program which...

    let me rephrase:

    i have one program which builds the hash file.
    the second program makes use of a queries txt file to access the file.

    i need to access my hash file by looking up names. my...
  6. Replies
    1
    Views
    1,128

    Hash File Queries

    Does anyone have any help they can provide with dealing with a queries.txt file that makes use of my already made hash file and outputs such things as:

    the record #, the frequency, and location...
  7. Replies
    19
    Views
    2,753

    I hate to keep bothering, but how do I deal with...

    I hate to keep bothering, but how do I deal with collissions now.

    I have set up a while loop to go through the entire file, and I read on record at a time and hash it. how can i deal with...
  8. Replies
    19
    Views
    2,753

    can i still use the hash function you gave me ?

    can i still use the hash function you gave me ?
  9. Replies
    19
    Views
    2,753

    Hey Prelude... I'll see what I can figure out,...

    Hey Prelude...

    I'll see what I can figure out, but I did have one question:

    how do I initialize a hash file??? with a table, it was easy. Also, do I still need to use an array of any sort or...
  10. Replies
    19
    Views
    2,753

    Oh my, so I thought I was on the right...

    Oh my, so I thought I was on the right track--then I spoke with my peer advisor and he's what he had to say:

    your program is not allowed to create huge arrays to hold the records and your program...
  11. Replies
    19
    Views
    2,753

    once again, results are taking place...just a few...

    once again, results are taking place...just a few questions:

    can I do both of those in the same program with no problems?

    where should I place this code you just gave me with respect to the...
  12. Replies
    19
    Views
    2,753

    Prelude, alright, so it is my luck day! Nice!...

    Prelude,

    alright, so it is my luck day! Nice!

    you said that I just need to change my first dimension--however, do i need the second dimension at all???

    so i need something like this:
    char...
  13. Replies
    19
    Views
    2,753

    ALSO, I noticed that I seem to be getting...

    ALSO, I noticed that I seem to be getting collissions within my table with the code I have. How do I go about implementing linear probing to avoid collisions? Would it be placed within the code...
  14. Replies
    19
    Views
    2,753

    awesome, you guys are helping a lot here! BUT,...

    awesome, you guys are helping a lot here!
    BUT, you know me...I still have some trouble.

    the last chunk of code is close to what I think I need. However, the table I need has to have exactly...
  15. Replies
    19
    Views
    2,753

    you gave me two sections of code...THANKS! ...

    you gave me two sections of code...THANKS!

    however, i am unsure where i put each different segment?

    also, you stated this:

    int index = hash ( string );

    where you have string, should i put...
  16. Replies
    19
    Views
    2,753

    basically, i need to read a file that contains...

    basically, i need to read a file that contains records. i want to use the NAME as my hashing key. however, i am new to hashing, and i am not sure if i can create a hash table with a string or if i...
  17. Replies
    19
    Views
    2,753

    convert c string to int

    I need to create a hashing function in which I use a name (c string) as the key. Is there any way to do this without treating it as an int?
  18. Replies
    3
    Views
    1,000

    alright, sounds like a plan. you guys are great....

    alright, sounds like a plan. you guys are great.

    i'll get the hashing function and then go from there.

    any other comments are welcome.
  19. Replies
    3
    Views
    1,000

    Hashing Binary

    I am working with a program that needs to open a binary file and then work with regular text files and also mix a little hashing in. I know this is very vague, but could someone give me a SMALL...
  20. Replies
    17
    Views
    3,266

    she's up and working. bam! ...

    she's up and working. bam!

    FTree<familyTree>::iterator SearchandLocate(FTree<familyTree> &myFTree,
    FTree<familyTree>::iterator &iteratorFirst, string member)
    {
    if(iteratorFirst !=...
  21. Replies
    17
    Views
    3,266

    thats what i figured. :(

    thats what i figured. :(
  22. Replies
    17
    Views
    3,266

    i don't know if that will help you out of not.......

    i don't know if that will help you out of not....

    geez, this is frustrating...

    the input file i have just has a list of 2 names on each line
  23. Replies
    17
    Views
    3,266

    // Node form for the family tree template...

    // Node form for the family tree

    template <typename Etype>
    class Tnode
    {
    public:
    Etype info; // The data
    Tnode<Etype> *firstchild; // Points to first child (left)...
  24. Replies
    17
    Views
    3,266

    i can post the class i have available to me if...

    i can post the class i have available to me if that would make it easier for you...
  25. Replies
    17
    Views
    3,266

    the tree i am working with can have multiple...

    the tree i am working with can have multiple children while a binary tree can only have 2. however, i don't know how many children each node has prior to searching.
Results 1 to 25 of 64
Page 1 of 3 1 2 3