Initial commit.

This commit is contained in:
Nicolás Ortega Froysa 2020-12-09 11:17:18 +01:00
commit 1fb5cf2663
3 changed files with 96 additions and 0 deletions

24
LICENSE Normal file
View File

@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
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 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.
For more information, please refer to <http://unlicense.org/>

9
README Normal file
View File

@ -0,0 +1,9 @@
===============
*** Trinity ***
===============
A C programmer's explanation of the Holy Trinity.
# License
---------
It's public domain under the Unlicense. Use it however you want, but it
comes without warranty.

63
Trinity.c Normal file
View File

@ -0,0 +1,63 @@
/*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jurisdictions that recognize copyright laws, the author or authors
* of this software dedicate any and all copyright interest in the
* software to the public domain. We make this dedication for the benefit
* of the public at large and to the detriment of our heirs and
* successors. We intend this dedication to be an overt act of
* relinquishment in perpetuity of all present and future rights to this
* software under copyright law.
*
* 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 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.
*
* For more information, please refer to <http://unlicense.org/>
*/
#include <stdio.h>
int main() {
int God = 1;
int *Father = &God;
int *Son = &God;
int *HolySpirit = &God;
if(&God == Father)
puts("The Father is God.");
else
puts("The Father is not God.");
if(&God == Son)
puts("The Son is God.");
else
puts("The Son is not God.");
if(&God == HolySpirit)
puts("The Holy Spirit is God.");
else
puts("The Holy Spirit is not God.");
if(&Father == &Son)
puts("The Father is the Son.");
else
puts("The Father is not the Son.");
if(&Father == &HolySpirit)
puts("The Father is the Holy Spirit.");
else
puts("The Father is not the Holy Spirit.");
if(&Son == &HolySpirit)
puts("The Son is the Holy Spirit.");
else
puts("The Son is not the Holy Spirit.");
return 0;
}