From 6dafe5d7b937c51b2832cb032b5c358bc0766bb0 Mon Sep 17 00:00:00 2001 From: The-Last-Cookie Date: Sat, 14 Nov 2020 19:21:50 +0100 Subject: [PATCH] add licence --- LICENCE.md | 7 +++++++ main.cpp | 4 ++++ stringcalc.cpp | 4 ++++ stringcalc.h | 4 ++++ 4 files changed, 19 insertions(+) create mode 100644 LICENCE.md diff --git a/LICENCE.md b/LICENCE.md new file mode 100644 index 0000000..029e11e --- /dev/null +++ b/LICENCE.md @@ -0,0 +1,7 @@ +Copyright (c) 2020 The-Last-Cookie + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/main.cpp b/main.cpp index a7332b8..11851c4 100644 --- a/main.cpp +++ b/main.cpp @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The-Last-Cookie +// Licensed under the MIT Licence. +// See the LICENCE file for more information. + #include #include "stringcalc.h" diff --git a/stringcalc.cpp b/stringcalc.cpp index 9ea4322..b51d4e7 100644 --- a/stringcalc.cpp +++ b/stringcalc.cpp @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The-Last-Cookie +// Licensed under the MIT Licence. +// See the LICENCE file for more information. + #include "stringcalc.h" std::string StringCalc::add(std::string str1, std::string str2) { diff --git a/stringcalc.h b/stringcalc.h index f79dee0..0d6794c 100644 --- a/stringcalc.h +++ b/stringcalc.h @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The-Last-Cookie +// Licensed under the MIT Licence. +// See the LICENCE file for more information. + #pragma once #include