This homework assignment is to make the functions in theclasses faster while passsing the tests in the main.cpp file: Filesgiven are: main.cpp & trendtracker.h with some text files..Instructions are as follows: Create a new C++ source filenamedtrendtracker.cpp that implements the Trendtracker class, sothat trendtracker.cpp and the pro- vided files compile into aprogram that runs with no failed tests. Submit the source filetrendtracker.cpp.
//******************** main.cpp********************//
#include <cassert>#include <fstream>#include <iostream>#include <cstdlib>#include <string>#include “trendtracker.h”using namespace std;inline void _test(const char* expression, const char* file, int line){ cerr << “test(” << expression << “) failed in file ” << file;
PayPal Gateway not configured
PayPal Gateway not configured