Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
Project 3 Star Gazing
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eric Walsh
Project 3 Star Gazing
Commits
bc7540d0
Commit
bc7540d0
authored
Mar 14, 2019
by
Brandon Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autosave
parent
3bffcb12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
Input stuff/Functions.h
Input stuff/Functions.h
+8
-10
No files found.
Input stuff/Functions.h
View file @
bc7540d0
...
...
@@ -2,20 +2,18 @@
using
namespace
std
;
int
yearPrompt
();
int
yearPrompt
();
// Prompts and checks year input
string
monthPrompt
();
string
monthPrompt
();
// Prompts and checks month input
int
dayPrompt
(
string
month
,
int
year
);
int
dayPrompt
(
string
month
,
int
year
);
// Prompts and checks day input
int
hourPrompt
();
int
hourPrompt
();
// Prompts and checks hour input
int
minutePrompt
();
int
minutePrompt
();
// Prompts and checks minute input
double
dateToHour
(
string
month
,
int
day
,
int
hour
,
int
minute
);
double
dateToHour
(
string
month
,
int
day
,
int
hour
,
int
minute
);
// Converts full date to hour
pair
<
double
,
double
>
altAndAziPair
();
bool
isLeap
(
int
year
);
pair
<
double
,
double
>
altAndAziPair
();
// Creates pair of alitutude and azimuth
bool
isLeap
(
int
year
);
// Bool check for leap year
\ No newline at end of file
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