Monitor
point.h
00001 #ifndef POINT_H
00002 #define POINT_H
00003 
00008 typedef struct Point {
00009         int xval, yval;
00010 } Point;
00011 
00012 Point *mkpt(int x, int y);
00013 double dist(Point a, Point b);
00014 Point *add(Point *a, Point *b);
00015 Point *sub(Point a, Point b);
00016 void move(Point *p, int a, int b);
00017 void print(Point p);
00018 void prline(Point x, char *op, Point y, Point z);
00019 
00020 #endif // POINT_H
 All Classes Functions