// -------------------------------------------------------- // // This file only contains the code to built a blank window. // You have to add your code to realize the required function // // -------------------------------------------------------- #include #include // from the STL directory #include #include "point.h" #include "window.h" // -------------------------------------------------------- int main (int argc, char *argv[]) { window wd(400,300); // you can use wd.readMouse() to get input from mouse // you can use wd.drawLine() to draw lines in the window list plist; //list for keeping points of polygan if (argc > 2) { cerr << "Usage: poly filename" << endl; return 1; } //if you want to win the bonus, below is a little hint // ifstream inFile; // ofstream outFile; // if (argc==2) // { // } return 0; }