From d0067af3d6611ebb689e9fb33ac3e5dd02ecf5f9 Mon Sep 17 00:00:00 2001 From: "Ashley Davis (SgtCoDFish)" Date: Wed, 17 Dec 2014 18:48:04 +0000 Subject: [PATCH] Update LICENSE, add legal details to source, add test code, update gitignore --- .gitignore | 2 ++ LICENSE | 60 --------------------------------- include/ArrPeeGee/ArrPeeGee.hpp | 17 ++++++++-- src/ArrPeeGee.cpp | 25 ++++++++++++-- 4 files changed, 40 insertions(+), 64 deletions(-) diff --git a/.gitignore b/.gitignore index efb6c44..33eb61c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +.settings/* +.settings lib lib/* bin/* diff --git a/LICENSE b/LICENSE index d6a9326..8159d9e 100644 --- a/LICENSE +++ b/LICENSE @@ -278,63 +278,3 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - {description} - Copyright (C) {year} {fullname} - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - {signature of Ty Coon}, 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. - diff --git a/include/ArrPeeGee/ArrPeeGee.hpp b/include/ArrPeeGee/ArrPeeGee.hpp index 1e26982..57ed0aa 100644 --- a/include/ArrPeeGee/ArrPeeGee.hpp +++ b/include/ArrPeeGee/ArrPeeGee.hpp @@ -1,8 +1,21 @@ /* * ArrPeeGee.hpp + * Copyright (C) 2014 Ashley Davis (SgtCoDFish) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * - * Created on: 17 Dec 2014 - * Author: Ashley Davis (SgtCoDFish) */ #ifndef ARRPEEGEE_HPP_ diff --git a/src/ArrPeeGee.cpp b/src/ArrPeeGee.cpp index 9b8b1e0..0ec446e 100644 --- a/src/ArrPeeGee.cpp +++ b/src/ArrPeeGee.cpp @@ -1,10 +1,31 @@ /* * ArrPeeGee.cpp + * Copyright (C) 2014 Ashley Davis (SgtCoDFish) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * - * Created on: 17 Dec 2014 - * Author: Ashley Davis (SgtCoDFish) */ +#include + +#include +#include +int main(int argc, char *argv[]) { + std::cout << "Hello, world!\n"; + return EXIT_SUCCESS; +}