This commit is contained in:
Imbus 2024-12-12 15:17:41 +01:00
parent 2769a3a0ad
commit e707a6649f
2 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,6 @@
CXX = g++
CXXFLAGS = -Wall -Wextra -Wpedantic -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused -Woverloaded-virtual -Wconversion -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -std=c++17
#CXXFLAGS += -Werror
CXXFLAGS += -g
SRC = $(wildcard *.cc)
HDR = $(wildcard *.h)

View file

@ -39,4 +39,8 @@ int main() {
User ufind2 = tbl.find("Name Surname");
assert(ufind2 != UserTable::user_not_found);
}
{
auto t = UserTable("users.txt");
int r = testFindNbr(t);
}
}