Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Multiplayer Lobby Simulator
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Allen B. Doelue
Multiplayer Lobby Simulator
Commits
0a8263e2
Commit
0a8263e2
authored
May 01, 2020
by
Allen B. Doelue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
8fe64228
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
main.cpp
main.cpp
+17
-0
No files found.
main.cpp
0 → 100644
View file @
0a8263e2
#include <iostream>
using
namespace
std
;
#include "Player.h"
int
main
()
{
Player
p1
;
//default player
p1
.
displayName
();
//default name is CPU
cout
<<
"is rank "
<<
p1
.
getRank
()
<<
endl
;
// default rank is 1
cout
<<
endl
;
Player
p2
(
"Cameron"
,
6
);
p2
.
displayName
();
cout
<<
"is rank "
<<
p2
.
getRank
()
<<
endl
;
return
0
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment