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
0c0beb51
Commit
0c0beb51
authored
Mar 19, 2019
by
Brandon Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autosave
parent
b3c3ae15
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Final stuff/Functions.cpp
Final stuff/Functions.cpp
+1
-1
Final stuff/Functions.h
Final stuff/Functions.h
+1
-1
No files found.
Final stuff/Functions.cpp
View file @
0c0beb51
...
@@ -175,7 +175,7 @@ pair<double,double> altAndAziPair () {
...
@@ -175,7 +175,7 @@ pair<double,double> altAndAziPair () {
return
aziPair
;
return
aziPair
;
}
}
double
dateToHour
(
string
month
,
int
day
,
int
hour
,
int
minute
)
{
// Converts the date into hours
double
dateToHour
(
string
month
,
int
year
,
int
day
,
int
hour
,
int
minute
)
{
// Converts the date into hours
//variables
//variables
double
totHours
=
0
;
double
totHours
=
0
;
int
monthNum
=
0
;
int
monthNum
=
0
;
...
...
Final stuff/Functions.h
View file @
0c0beb51
...
@@ -13,7 +13,7 @@ int hourPrompt (); // Prompts and checks hour input
...
@@ -13,7 +13,7 @@ int hourPrompt (); // Prompts and checks hour input
int
minutePrompt
();
// Prompts and checks minute input
int
minutePrompt
();
// Prompts and checks minute input
double
dateToHour
(
string
month
,
int
day
,
int
hour
,
int
minute
);
// Converts full date to hour
double
dateToHour
(
string
month
,
int
year
,
int
day
,
int
hour
,
int
minute
);
// Converts full date to hour
pair
<
double
,
double
>
altAndAziPair
();
// Creates pair of alitutude and azimuth
pair
<
double
,
double
>
altAndAziPair
();
// Creates pair of alitutude and azimuth
...
...
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