-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhome.cpp
67 lines (60 loc) · 1.75 KB
/
home.cpp
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#include <iostream>
#include <stdio.h>
#include <conio.h>
#include "constellations.cpp"
#include "clusters.cpp"
#include "index_retrieve.cpp"
#include "correlationf.cpp"
#include "mst.cpp"
#include "table.cpp"
using namespace std;
int main()
{
home:
cout<<"************** ASTROEYE **************\n";
cout<<"\nPlease refer to the codes and functions mentioned below to execute tasks:\n";
cout<<"Code\tFunction\n";
cout<<"1.\tGive catalog and observed object data to get the indexing of your observed objects within image.\n"
<<"2.\tGive a converted starry night sky image to get the possible constellations present in it.\n"
<<"3.\tGive coordinates to find clusters of galaxies.\n"
<<"4.\tGive data on galaxies to find the shortest path/route between galaxies based on autocorrelated distance.\n"
<<"5.\tExit\n"
<<"Please Press Enter after completing any function to return to this screen\n";
int ch = 0;
while(ch<1 || ch>5){
cout<<"Enter you ch: ";
cin>>ch;
if(ch<1 || ch>5){
cout<<"Please Enter a valid code to execute function: \n";
}
}
switch(ch){
case 1:
getchar();
indrev();
getch();
goto home;
case 2:
getchar();
constellation();
getch();
goto home;
case 3:
getchar();
cluster();
getch();
goto home;
case 4:
getchar();
tb();
cr();
MST();
getch();
goto home;
case 5:
break;
}
cout<<"Thank YOU for using AstroEye!!"<<endl<<endl;
getch();
return 0;
}