Course Solutions Uncategorized (Solved) : Hello Need Fix Things C Code Want Expertise Fixing Code Meet Requirements Possible Display Q29378843 . . . .

(Solved) : Hello Need Fix Things C Code Want Expertise Fixing Code Meet Requirements Possible Display Q29378843 . . . .

 

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

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post