Skip to content

Commit 7b16412

Browse files
committed
Create Point.c
1 parent 808e005 commit 7b16412

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

U201215695/Point.c

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#include"Point.h"
2+
#include<iostream>
3+
4+
Point::Point(double a,double b){
5+
this->x=a;
6+
this->y=b;
7+
}
8+
9+
void Point::updatePoint(double a,double b){
10+
this->x=a;
11+
this->y=b;
12+
}

0 commit comments

Comments
 (0)