aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanJacobs2022-04-17 23:22:40 +0200
committerSanJacobs2022-04-17 23:22:40 +0200
commitb3d7b6afcaab0e481debafed00fea692373b780e (patch)
treedd006d751fcdda91f69d9bc707570e9ab73b8a2c
parent895f1df65f93b767305acd1c4cd85eb8ccf1d963 (diff)
downloadsatscalc-b3d7b6afcaab0e481debafed00fea692373b780e.tar.gz
satscalc-b3d7b6afcaab0e481debafed00fea692373b780e.tar.bz2
satscalc-b3d7b6afcaab0e481debafed00fea692373b780e.zip
Added welcome message
-rwxr-xr-xsrc/main.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a952bbe..071ddfd 100755
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -99,14 +99,15 @@ int main(int argc, char* argv[])
moment inputmoment2 = timeinput(2012, 11, 26);
std::cout << "Time reveived: " << timeprint(inputmoment2) << std::endl;
}
+ } else {
+ std::cout << "satscalc (C++ Edition)\n";
+ std::cout << "Copyright 2022 Sander J. Skjegstad.\n";
+ std::cout << "This is free software with ABSOLUTELY NO WARRENTY.\n";
+ std::cout << "It does NOT give financial advice.\n\n";
+
+ std::cout << "-----\nStep 1: Adding the days\n\n";
+
+ return 0;
}
- std::cout << "satscalc (C++ Edition)\n";
- std::cout << "Copyright 2022 Sander J. Skjegstad.\n";
- std::cout << "This is free software with ABSOLUTELY NO WARRENTY.\n";
- std::cout << "It does NOT give financial advice.\n\n";
-
- std::cout << "-----\nStep 1: Adding the days\n\n";
-
- return 0;
}