Search:

Type: Posts; User: elsewhere

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    2,017

    Well, that is another concern

    I have tried it out, I wrote the function and tested it with a simpler function with a linked list not a binary tree and it worked well, How can i change this to be more sure?
  2. Replies
    7
    Views
    2,017

    Search function not working fully

    My program, compiles and works fine, however there is an issue with the search function, When I try to search for a specific element in the binary tree, It doesn't work! for example: when i enter...
  3. Replies
    7
    Views
    2,017

    ok, I will try that out and post the results, I...

    ok, I will try that out and post the results, I have been thinking and it make sense that the cal
    l foundNode = search(key, rootPtr);
    only deals with the root and doesn't touch the leaves, What do...
  4. Replies
    7
    Views
    2,017

    ok tabstop, I think it just looks at the first...

    ok tabstop, I think it just looks at the first element and forgets about the leafs, What do you think?
  5. Replies
    24
    Views
    2,929

    oh, I understand now! the problem is that you...

    oh, I understand now! the problem is that you don't understand the concept,
    here:
    First you need to run the program in PURE memory, don't worry about files, If the user decides to save his/her...
  6. Replies
    24
    Views
    2,929

    Simply change: dataOutput =...

    Simply change:
    dataOutput = fopen("fileOutput.txt","a+");
    to:
    dataOutput = fopen("fileOutput.txt","w");

    notice the "w"
  7. Replies
    6
    Views
    2,340

    ok, I fixed the issues it compiles now

    Concerning another function that has to be implemented the delete_entry() function, which has to call the search function to locate the entry(if it exist) and delete( one occurance of it)
    any ideas,...
  8. Replies
    6
    Views
    2,340

    ok, down to two compiling errors

    I made a couple of changes in the code, basically replacing the search function prototype,


    TreeNodePtr search(char *key, TreeNodePtr leaf)

    now its ok, I am getting two syntax errors in the...
  9. Replies
    6
    Views
    2,340

    Attempt to write function search()

    I am doing a binary tree , I need to search for a specific element
    these are the structures and the function itself( not completed)


    struct employee{
    char fname[SIZE];
    char lname[SIZE];...
Results 1 to 9 of 9