From 952e0275967ceca221ef16ccdb7f64ddfefc54b3 Mon Sep 17 00:00:00 2001 From: erayosso <erayduezenli@googlemail.com> Date: Sat, 15 Apr 2023 13:28:33 +0200 Subject: [PATCH] Renaming first assignmet to levenD --- CMakeLists.txt | 2 +- functions.cpp | 2 +- aufgabe1.cpp => levenD.cpp | 2 +- aufgabe1.h => levenD.h | 0 main.cpp | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename aufgabe1.cpp => levenD.cpp (98%) rename aufgabe1.h => levenD.h (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 124269e..56b5efc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,4 +3,4 @@ project(magicCards) set(CMAKE_CXX_STANDARD 20) -add_executable(magicCards main.cpp aufgabe1.h aufgabe1.cpp Cards.h functions.h functions.cpp) +add_executable(magicCards main.cpp levenD.h levenD.cpp Cards.h functions.h functions.cpp) diff --git a/functions.cpp b/functions.cpp index a949a2e..c65878b 100644 --- a/functions.cpp +++ b/functions.cpp @@ -4,7 +4,7 @@ #include <stdexcept> #include <sstream> #include <vector> -#include "aufgabe1.h" +#include "levenD.h" // Aufgabe 3 //Given a file of cards, return a list consisting of card objects diff --git a/aufgabe1.cpp b/levenD.cpp similarity index 98% rename from aufgabe1.cpp rename to levenD.cpp index cc76307..47c0d8f 100644 --- a/aufgabe1.cpp +++ b/levenD.cpp @@ -1,4 +1,4 @@ -#include "aufgabe1.h" +#include "levenD.h" //Helper function, calculate minimum of three values int min(int x, int y, int z) { diff --git a/aufgabe1.h b/levenD.h similarity index 100% rename from aufgabe1.h rename to levenD.h diff --git a/main.cpp b/main.cpp index 0295d31..9e77dd1 100644 --- a/main.cpp +++ b/main.cpp @@ -1,4 +1,4 @@ -#include "aufgabe1.h" +#include "levenD.h" #include "Cards.h" #include "functions.h" -- GitLab