Please help me rewrite this code in C++ that works exactly thesame as the original one
In a word i need to submit this homework but i dont have enoughtime to write it but i found this from my friend, please helpme
if possible a short description of the main function. Thanks
—————————————————————-Maze.h——————————————————————————————————-
#include<iostream>
#include<Windows.h>
#include”Maze.h”
using namespace std;
int main()
{
MAZE test;
test.readMaze();
test.printMaze();
cout << “Wait a second…” << endl;
Sleep(1000);
test.printRoad();
system(“pause”);
}
———————————————————————————Maze.cpp———————————————————————————————————————————————-
#include “Maze.h”
#include<iostream>
#include<string>
#include<vector>
#include<fstream>
#include<cstdlib>
#include<sstream>
using namespace std;
char find(int** copy, int *sr, int *sc, int row, intcol,vector<char> route)//Finding the path
if (copy[*sr][*sc + 1] != 1 && *sc + 1 < col){//right
copy[*sr][*sc] = 1;
*sc = *sc + 1;
return ‘r’;
}
else if (copy[*sr + 1][*sc] != 1 &&
PayPal Gateway not configured
PayPal Gateway not configured