From 560e5e5db7c9fdae7c6e5978668ae1ad80dd61d0 Mon Sep 17 00:00:00 2001 From: Eraser <erayduezenli@googlemail.com> Date: Thu, 13 Apr 2023 13:03:01 +0200 Subject: [PATCH] Implemented Cards Structure --- CMakeLists.txt | 2 +- Cards.h | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 Cards.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 91af747..3db357b 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 0000000..0f01b5e --- /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 -- GitLab