Hello I just need to fix some things from my C++ code. I want tohave your expertise by fixing the code to meet the requirements. Ifit possible, display a capture for the output. I am using visualstudio 2015. Thanks.
Current Code:
#include <iostream>
#include <fstream>
#include <time.h>
#include <windows.h>
#include <list>
#include <stdlib.h>
using namespace std;
//const int Position_Table_Hash = 1000;
class StudentHT {
struct RecType {
int id;
string fname;
string lname;
};
struct NodeType {
int id;
string fname;
string lname;
NodeType *nextNode;
};
NodeType **hashTablePtr;
int hashTableSize;
int numberOfNodesSearches;
int numberOfIDSearched;
double avgNumberOfSearches;
// Constructor
StudentHT(int htSize) {
hashTableSize = htSize;
// creating hash table – hash table with pointers
//hashTablePtr = (NodeType *) malloc (sizeof( struct NodeType*)* hashTableSize);
hashTablePtr = new NodeType*[hashTableSize];
}
int hashFunction(int studentID) {
// hash Algorithm
int hashValue
PayPal Gateway not configured
PayPal Gateway not configured