Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <ctime>
#include "LogIn/login.h"
#include "shop/shop.h"
#include "outro/outro.h"

using namespace std;

Expand All @@ -32,6 +33,7 @@ int main() {
this_thread::sleep_for(chrono::milliseconds(2000));
showShop();


return 0;

}
Binary file modified main.exe
Binary file not shown.
47 changes: 47 additions & 0 deletions outro/outro.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#include <iostream>
using namespace std;
#include <chrono>
#include <thread>
#include "../shop/shop.h"

void showOutro() {
const char* outro[] = {
" |",
" |",
" |",
" RetroSteam Shop |",
" _______ ________ |",
" |ooooooo| ____ | __ __ | |",
" |[]+++[]| [____] |/ \\/ \\| |",
" |+ ___ +| ]()()[ |\\__/\\__/| |",
" |:| |:| ___\\__/___ |[][][][]| |",
" |:|___|:| |__| |__| |++++++++| |",
" |[]===[]| |_|_/\\_|_| | ______ | |",
"_ ||||||||| _ | | __ | | __ ||______|| __|",
" |_______| |_|[::]|_| |________| \\",
" \\_|_||_|_/ \\",
" |_||_| \\",
" _|_||_|_ \\",
" ____ |___||___| Bliri Berisha FIEK \\",
" / __\\ ____ \\",
" \\( oo (___ \\ \\",
" _\\_o/ oo~)/",
" / \\|/ \\ _\\-_/_ ",
" / / __\\ \\___ / \\|/ \\",
" \\ \\| |__/_) / / .- \\ \\",
" \\/_) | \\ \\ . /_/",
" ||___| \\/___(_/",
" | | | | | |",
" | | | | | |",
" |_|_| |_|__|",
" [__)_) (_(___])"


};

for (const char* line : outro) {
cout << line << endl;
this_thread::sleep_for(chrono::milliseconds(100));
}
}

6 changes: 6 additions & 0 deletions outro/outro.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@



void showOutro(); // Declare the showOutro function


4 changes: 4 additions & 0 deletions shop/shop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
#include <cstdlib>
#include <ctime>
#include "shop.h"
#include "../outro/outro.h"




using namespace std;
Expand Down Expand Up @@ -206,6 +209,7 @@ cout << endl;
case 4:
cout << "You have selected Exit!" << endl;
cout << "Exiting..." << endl;
showOutro();
this_thread::sleep_for(chrono::milliseconds(1000));
break;
default:
Expand Down