main.cpp 1007 Bytes
Newer Older
Brandon Reid's avatar
Brandon Reid committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
#include <iostream> 
#include "Functions.h"
#include "Constellation.h"
#include "countries.h"
#include <vector>
#include <string>
#include <utility>

using namespace std;

int main () {
    //variables
    string monthInput;
    int monthDay = 0;
    int yearInput = 0;
    int hourInput = 0;
    int minuteInput = 0;
    pair <double,double> AltAndAziPair;
    pair <double, double> longAndLatPair;
    
    
    cout <<  "==============Welcome to the Star-Gazer v 1.0==============" << endl;
    do {
        yearInput = yearPrompt();
        
        monthInput = monthPrompt();
        
        monthDay = dayPrompt(monthInput, yearInput);
        
        hourInput = hourPrompt();
        
        minuteInput = minutePrompt();
        
        AltAndAziPair = altAndAziPair ();
        
        printCities();
        
        longAndLatPair = longAndLat();
        
    } while (false);
    
    //cout << dateToHour(yearInput, monthInput, monthDay, hourInput, minuteInput) << endl;
    return 0; 
}