rename
This commit is contained in:
parent
73b9c1a8af
commit
9aeeed76f6
|
|
@ -1,4 +1,4 @@
|
|||
#include "hashTable.h"
|
||||
#include "hashTableDynamic.h"
|
||||
#include <iostream>
|
||||
|
||||
HashTable::HashTable() {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#include "hashTable.h"
|
||||
#include "hashTableDynamic.h"
|
||||
#include "pbEntry.h"
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
|
@ -32,7 +32,6 @@ int main() {
|
|||
ht.insert(new PbEntry(random_string(7), "test", "test"));
|
||||
}
|
||||
ht.print();
|
||||
std::cout << ht.getloadFactor() << std::endl;
|
||||
|
||||
// ht.setHashFunction("mod17");
|
||||
// ht.insert(&entry1);
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ BINARY = main
|
|||
# Name of the binary for Release
|
||||
FINAL = prototyp
|
||||
# Object files
|
||||
OBJS = pbEntry.o hashTable.o main.o
|
||||
OBJS = pbEntry.o hashTableDynamic.o main.o
|
||||
# Compiler flags
|
||||
CFLAGS = -Werror -Wall -std=c++17 -fsanitize=address,undefined -g
|
||||
# Linker flags
|
||||
|
|
@ -18,6 +18,7 @@ all: binary
|
|||
|
||||
final : ${OBJS}
|
||||
${COMPILER} ${LFLAGS} -o ${FINAL} ${OBJS}
|
||||
rm ${OBJS}
|
||||
|
||||
binary : ${OBJS}
|
||||
${COMPILER} ${LFLAGS} -o ${BINARY} ${OBJS}
|
||||
|
|
|
|||
Loading…
Reference in New Issue