diff --git a/Final stuff/Functions.cpp b/Final stuff/Functions.cpp index ea8f5ac69391df7710df0cc8a10aef4a73dc2380..e09275ca01893ee5575da9bf352d3801a1521468 100644 --- a/Final stuff/Functions.cpp +++ b/Final stuff/Functions.cpp @@ -175,7 +175,7 @@ pair altAndAziPair () { 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 double totHours = 0; int monthNum = 0; diff --git a/Final stuff/Functions.h b/Final stuff/Functions.h index 9d5c6e428bf4204315006f07ce123be9e1d8e02b..fc40c48d814af40bf11f3abb9bd03a47565b2940 100644 --- a/Final stuff/Functions.h +++ b/Final stuff/Functions.h @@ -13,7 +13,7 @@ int hourPrompt (); // Prompts and checks hour 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 altAndAziPair (); // Creates pair of alitutude and azimuth