diff --git a/CMakeLists.txt b/CMakeLists.txt index 91af74722b4b2829a18f0a91562e459d4764b358..3db357b5c1bf0347a06f69273eb6f1ed28e5cb5f 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) +add_executable(magicCards main.cpp aufgabe1.h aufgabe1.cpp Cards.h) diff --git a/Cards.h b/Cards.h new file mode 100644 index 0000000000000000000000000000000000000000..0f01b5e27181134943a93911096640eee183f4a0 --- /dev/null +++ b/Cards.h @@ -0,0 +1,18 @@ +// +// Created by Eray düzenli on 13.04.23. +// +#pragma once +#include <string> + + +//Aufgabe Nr.2 + +struct Cards { +public: + std::string name; + std::string mana; + int cmc; + std::string type; + std::string count; + +}; \ No newline at end of file