
//
// This is example code from Chapter 17.9.2 "Pointers, references, and inheritance" of
// "Programming -- Principles and Practice Using C++" by Bjarne Stroustrup
//

#include "../std_lib_facilities.h"
#include "../GUI/Graph.h" // get access to our graphics library facilities

using namespace Graph_lib;

//------------------------------------------------------------------------------

void rotate(Shape* s, int n);  // rotate *s n degrees

//------------------------------------------------------------------------------

int main()
{
    Shape* p = new Circle(Point(100,100),40);
    Circle c(Point(200,200),50);
    rotate(&c,45);
}

//------------------------------------------------------------------------------
