Untitled
unknown
plain_text
3 years ago
347 B
6
Indexable
#include <iostream> #include "Point.h" #include "Ellipse.h" #include "Circle.h" using namespace std; int main() { Point p = {1, 2}; cout << "Point: (" << p << ")" << endl; Ellipse e = {3, 4, 5, 6}; cout << "Ellipse: (" << e << ")" << endl; Circle c = {7, 8, 9}; cout << "Circle: (" << c << ")" << endl; return 0; }
Editor is loading...