Search:

Type: Posts; User: MercFh

Search: Search took 0.01 seconds.

  1. Replies
    33
    Views
    16,627

    OMG IT WORKS NOW, but why?

    OMG IT WORKS NOW, but why?
  2. Replies
    33
    Views
    16,627

    ugh this program is driving me up a wall. u said...

    ugh this program is driving me up a wall. u said u got it to actually calculate numbers and display the answer correct. but I set type now........and it's not giving errors but it still wont work...
  3. Replies
    33
    Views
    16,627

    i set it.....but it's still not giving me a...

    i set it.....but it's still not giving me a number after i put in a equation, altho i get no error. was there anything else u saw wrong with mine?
  4. Replies
    33
    Views
    16,627

    oh so it would be pwned->type= thatroot->type;?

    oh so it would be pwned->type= thatroot->type;?
  5. Replies
    33
    Views
    16,627

    here is what

    here is what i have so far, i believe I fixed the set root. im not getting any more errors when i run it, but it still doesnt do the equation



    //Matt Smith
    //Cs 215 Section 2
    //Program 5...
  6. Replies
    33
    Views
    16,627

    Like I seriously am not sure what type even is,...

    Like I seriously am not sure what type even is, so I should set operand to null.....or?
    like i hate to ask can u just show me what u mean?
  7. Replies
    33
    Views
    16,627

    when u say working, did it actually calculate the...

    when u say working, did it actually calculate the numbers?

    and when u say copyhelper not setting the type.
    cause i fixed the thisroot and setroot
    but im not sure what u mean by copyhelper
  8. Replies
    33
    Views
    16,627

    I changed the set root, and then it pointed to...

    I changed the set root, and then it pointed to the desthelper....i dunno why?
  9. Replies
    33
    Views
    16,627

    .......Sorry to be such a pain but can u guys...

    .......Sorry to be such a pain but can u guys show me what your talking about, im just trying to get this code debugged before it's due tuesday . i mean overall the code looks mostly done correct?...
  10. Replies
    33
    Views
    16,627

    yeah i changed that, it's still not working tho....

    yeah i changed that, it's still not working tho. I dont know what else to do with this code
  11. Replies
    33
    Views
    16,627

    but when i do that next is points to if((...

    but when i do that next is points to
    if(( thisroot->left != NULL ) || ( thisroot->right != NULL ))
    in the destHelper.

    man this program has alot of bugs :(
  12. Replies
    33
    Views
    16,627

    so something like this? destHelper (root); ...

    so something like this?
    destHelper (root);
    CTNode *temp = NULL;
    temp= new CTNode;
    temp-> type=type_;
    temp-> operand=operand_;
    temp->left=NULL;
    temp->right=NULL;
    root=temp;
    delete temp;
  13. Replies
    33
    Views
    16,627

    So......what? what do that mean what u just said...

    So......what? what do that mean what u just said I dont understand lol?
    Do i need to delete something or change......im confussled?
  14. Replies
    33
    Views
    16,627

    So basically my setroot function is f'd up for...

    So basically my setroot function is f'd up for some reason
  15. Replies
    33
    Views
    16,627

    no i got the linker errors fixed, that all works,...

    no i got the linker errors fixed, that all works, i just called a function wrong

    but now when i go to do a number i try (5*3)
    it just says program5.exre must now close.

    I DID go to the...
  16. Replies
    33
    Views
    16,627

    Ok i got it all running and everythigns compiled....

    Ok i got it all running and everythigns compiled. but when i go to do an expression it gives me a error......and just doesnt do anything. I dunno what the problem is

    it just halts for a sec, then...
  17. well doesnt he need to include using namespace...

    well doesnt he need to include
    using namespace std;

    then u can just be like
    cout<< "Hello WORLDDDDDDDD" ;
    return 0;
    ?
  18. Replies
    33
    Views
    16,627

    ok I think i got it...sorta

    Ok I changed everything around, everything should be working BUT im getting 3 linker errors, i dunno wtf why though, is there anything else u seen stunningly wrong with it?



    //Matt Smith
    //Cs...
  19. Replies
    33
    Views
    16,627

    Aight

    Ok i've written quite alot
    tell me what you think


    //Matt Smith
    //Cs 215 Section 2
    //Program 5
    #include "CalcTree.h"
  20. Replies
    33
    Views
    16,627

    C++ Tree Calculator

    Hello everyone Im new here, and I hope to get to know all of you well

    but anyways...on to my problem

    Ok Im going to admit this is a HW project, but i've done half of it.
    basically
    ok.
    were...
Results 1 to 20 of 20