Search:

Type: Posts; User: teedee46

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,347

    Mixing objects from different classes?

    Hi, I am trying to overload the relational operator and compare objects from different classes.

    say for instance I have:

    class A{
    int x;
    };

    class B : public A{
    int y;
  2. Replies
    9
    Views
    4,105

    Thanks for everyone's help. I actually have it...

    Thanks for everyone's help. I actually have it working now after hours and hours of work.

    Why does this belong on the c board?
  3. Replies
    9
    Views
    4,105

    Please help me

    The first node in the tree is the only one that gets anything written to it.




    void build_tree(int size, LIST_I data, TREE& t)
    {

    int ct;
    for (ct = 0; ct < size; ++ct) {
  4. Replies
    1
    Views
    844

    insertion into a binary tree

    //I'm having trouble inserting an array of integers into a binary
    //search tree. The function below is what my last attempt at
    //this looked like. Only the first node will print. Any help...
Results 1 to 4 of 4