FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
GoogleHashCodeTestRound/Point.cpp at master · Loniowsky/GoogleHashCodeTestRound · GitHub
This repository was archived by the owner on Apr 2, 2021. It is now read-only.
Loniowsky
/
GoogleHashCodeTestRound
Public archive
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
GoogleHashCodeTestRound
/
Point.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
24 lines (16 loc) · 307 Bytes
Breadcrumbs
GoogleHashCodeTestRound
/
Point.cpp
Copy path
File metadata and controls
24 lines (16 loc) · 307 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
include
"
Point.h
"
#
include
<
iostream
>
using
namespace
std
;
bool
Point::IsValid
(){
if
(isValid==validity::notvalid)
return
false
;
return
true
;
}
void
Point::Print
(){
cout<<m_x<<
"
"
<<m_y<<endl;
}
void
Point::SetX
(
const
unsigned
int
x){
m_x = x;
}
void
Point::SetY
(
const
unsigned
int
y){
m_y = y;
}
Back
|
FazBrowse Home
|
New Git URL