Search:

Type: Posts; User: C++Newbie

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    7,271

    binary Tree search

    Thanks,
    But I need help, if you can see where I made the mistakes point them out and I will learn.
    If you know a method to help me solve this, an example would be nice. I know that...
  2. Replies
    7
    Views
    7,271

    Binary Tree Search PLEASE HELP!!!!!!!!!!!

    Need to create function binaryTreeSearch, which attemps to locate a specified value in a binary search tree object. The function should take as arguments a pointer to the root node of the binary...
  3. Replies
    11
    Views
    5,344

    Rectangle

    // Declaration of the Rectangle class.
    // Member functions defined

    // preprocessor directives that
    // prevent multiple inclusions of header file
    #ifndef 6_13_H
    #define 6_13_H

    class...
  4. Replies
    11
    Views
    5,344

    what I mean is don't i need something like ...

    what I mean is don't i need something like

    Coordinate one----- ( x, y)
    coordinate two------(x, y)
    coordinate three------(x, y)
    coordinate four------(x, y)

    I can't see it being a single...
  5. Replies
    11
    Views
    5,344

    Rectangle

    Ok,
    I will try to build from your info.
    But does this only satisfy for two positions my class has to store all 4 positions.

    // must require at least one value to be entered
    ...
  6. Replies
    11
    Views
    5,344

    I don't have to worry about the coordinates being...

    I don't have to worry about the coordinates being something like
    (2,1) thats how I remember coordinates. Would single digit coordinates be ok for this?:rolleyes:
  7. Replies
    11
    Views
    5,344

    Class rectangle/need help thanks!!!

    I need to create a rectangle class. The class stores coordinates of the four corners of a rectangle. The constructor calls a set function that accepts four sets of coordinates and verifies that...
  8. Replies
    3
    Views
    1,775

    Thank you for your reply!!!! Yes i am cheking...

    Thank you for your reply!!!!

    Yes i am cheking for valid days and months, but i can't figure out how to set up my loop in main. I think that as the loop cycles through I have to pass the values to...
  9. Replies
    7
    Views
    2,301

    That loop should stop once it gets to 4. Hope...

    That loop should stop once it gets to 4.
    Hope that helps i'm new to this also. See ya.:)
  10. Replies
    3
    Views
    1,775

    Date class help!! Please

    I need to make a member function nextday to increment the day by one. The Date object should always remain in a consistant state. Need code that tests the nextday function in a loop that prints the...
Results 1 to 10 of 10