File: point.cc

package info (click to toggle)
pacman 10-21
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 852 kB
  • sloc: cpp: 4,363; sh: 83; makefile: 8
file content (7 lines) | stat: -rw-r--r-- 261 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
#include"point.h"
Point::Point(int xx=0,int yy=0) { x=xx; y=yy; }; 
int Point::val_x() { return x; };
int 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; };