hy i m new in c++ and have a problem to resolv, actually 2... anyway could anyone help me, with results an axplanations too.
first one---------------------------------------------------------------------
Create a console application.
Make a class "Geometry".
Derive a class Circle and a class Rectangle from Geometry.
Make a class Display which is able to print the Geometry area
Create a small test function which instantiate a Circle and a Rectangle and displays their area using the Display class.
...and the second...-----------------------------------------------------
Create a console application.
Implement a box class havin a "weight" property.
Implement a binary tree class which is able to hold boxes.
Implement a routine which is able to search for a box with the weight closest to a given weight.
Implement a test routine which ask the user for "weights" from which boxes are created and added in the tree.
Implement a test routine which ask the user for a weight and search it in the tree and return the weight which best matches the user input.