#include #include "shape.h" #include "shape.cxx" using namespace std; void foo() { shape s1(10,10); s1.print(); cout << s1.getx() << endl; cout << s1.gety() << endl; s1.moveto(20,20); s1.print(); } int main() { cout << " Program starts" << endl; foo(); cout << " Program ends " << endl; return(0); }