Search:

Type: Posts; User: sballew

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    2,926

    buggers.... I think this is confusing sometimes....

    buggers....
    I think this is confusing sometimes.

    okay so the correct tree expression of
    (5*2+(3*4-7))/(3+4/2)
    is:



    '/'
  2. Replies
    4
    Views
    2,926

    okay, 'cept for the keying error on my part on...

    okay, 'cept for the keying error on my part on the one node;
    this is a correct representation of the expression I gave as :

    (5*2+(3*4-7))/(3+4/2) ???

    I wasn't sure about the parts (3*4-7)...
  3. Replies
    4
    Views
    2,926

    InOrder traversal : show tree

    I am needing confirmation of the following:

    Show the expression tree whose InOrder traversal is:

    (5*2+(3*4-7))/(3+4/2)



    '/'
    ...
  4. Replies
    2
    Views
    1,030

    recursive function

    I am getting a Seg Fault; can anyone explain the problem??

    I believe this simple program is to find the # of instances a letter s occurs in the string literal "system" (which is obviously 2...
  5. Replies
    10
    Views
    4,302

    Still getting a Seg Fault and are we sure the...

    Still getting a Seg Fault
    and are we sure the catstr function is okay.
    What causes a Seg Fault anyways??




    #include <stdio.h>

    char * catstr(char * s1, const char * s2);
  6. Replies
    4
    Views
    1,195

    understanding output

    I am not following this recursive function. Please help me code this to get the value of n as it hits each part before and after recursive call.



    #include <stdio.h>

    void puzzle(int n)
    {...
  7. Replies
    10
    Views
    4,302

    What's a good main() function to test this...

    What's a good main() function to test this function ??

    I tried the following but am getting a type mismatch and such.
    Please explain what compilation error message means.





    #include...
  8. Replies
    10
    Views
    4,302

    appending a string onto end of another string

    I have been reviewing this stuff on strings and I am confused.

    Function needs to append contents of string s2 to the end of string 1 and return a pointer to resulting string.

    Would the...
  9. Replies
    4
    Views
    8,675

    I understand now. Thanks.

    I understand now. Thanks.
  10. Replies
    4
    Views
    8,675

    Zen, I am not following your logic of < goes...

    Zen,

    I am not following your logic of
    < goes on left
    > goes on right
  11. Replies
    4
    Views
    8,675

    inserting characters into a binary tree

    Question: Show the search tree that would result if the following characters are inserted in the tree from left to right :

    k e y b o a r d i n g

    Then show the results of different types of...
  12. Replies
    4
    Views
    1,971

    Quzah: I know this is simple for you, but me...

    Quzah: I know this is simple for you, but me being a NB, it is not so simple, not right off the bat at least.

    I followed you up to



    But what does the following mean???
  13. Replies
    4
    Views
    3,470

    I'll try that here, inserting code with tags. ...

    I'll try that here, inserting code with tags.

    Anyways, here's another ditty about binary search trees. I missed lecture on this and I don't follow my data structure's book on searches. Can you...
  14. Replies
    4
    Views
    3,470

    ok, so preorder is the only one that starts with...

    ok, so preorder is the only one that starts with parent and the root right off is a parent. Then goes down the left side of tree??


    silly question here: How did you get the the binary tree to...
  15. Replies
    2
    Views
    1,483

    Got it to work. Thanks.

    Got it to work. Thanks.
  16. Replies
    4
    Views
    3,470

    traversing binary trees or partial trees

    Please check out the file attached as it has a binary tree on it that I don't understand.

    (1) it has interior leafs and I need to follow the logic about traversing such kind of binary tree

    (2)...
  17. Replies
    2
    Views
    1,483

    queue implementation not working

    need to get this source file to interact with my file with queue functions. Please Help !!




    /********************/
    /* queue_main.c */
    /********************/

    #include <stdio.h>
  18. Replies
    12
    Views
    5,562

    I have been foolin with this all day and still...

    I have been foolin with this all day and still not sure what is going on.

    I need a source file that has just the queue functions in it and all things pertaining to a queue

    I need a source...
  19. I got this to work FINALLY> Thanks QuestionC...

    I got this to work FINALLY>

    Thanks QuestionC most especially for your help.
  20. Hey I am getting close here on this stack with...

    Hey I am getting close here on this stack with arrays


    please tell me what is wrong. It is printing just the last 6 in reverse? I need it to print the 1st 6 or the whole string in reverse. My...
  21. Replies
    12
    Views
    5,562

    only question I have right now is when my...

    only question I have right now is when my instructor says the queue functions have the same interface as the stack functions, does that mean that there is only one push and one pop function?? I ask...
  22. QuestionC: still getting problems. I assume...

    QuestionC:

    still getting problems. I assume from my make_empty function
    I just don't know what to code it as. I am not following what you are saying and darn this stuff, I'd rather learn HTML I...
  23. Ok, I am trying this with your help QuestionC. I...

    Ok, I am trying this with your help QuestionC.
    I am getting a problem though.

    this is my input and output after compilation as it is now:


    here's the source file
  24. Replies
    12
    Views
    5,562

    here's a sample of a queue that a friend sent me....

    here's a sample of a queue that a friend sent me.
    I guess it works, however, I cannot theoretically use this as we were instructed to use the same interface as our stack.c file.

    So I want to...
  25. Replies
    12
    Views
    5,562

    I am not following your line of thought. I was...

    I am not following your line of thought.
    I was told only to change the POP function.
    Do I have to change both the POP and PUSH??
Results 1 to 25 of 157
Page 1 of 7 1 2 3 4