File: point.cc

package info (click to toggle)
pacman 10-6
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 660 kB
  • ctags: 1,108
  • sloc: cpp: 3,333; makefile: 502; sh: 85
file content (7 lines) | stat: -rw-r--r-- 253 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
#include"point.h"
Point::Point(int xx=0,int yy=0) { x=xx; y=yy; }; 
Point::val_x() { return x; };
Point::val_y() { return y; };
void Point::set_x(int xx) { x=xx; };
void Point::set_y(int yy) { y=yy; };
void Point::set_xy(int xx,int yy) { x=xx; y=yy; };