X-Git-Url: http://git.subgeniuskitty.com/obfuscated-c/.git/blobdiff_plain/8c39e8897f9a037477cf77d858afde46757506ab..a9f8147c05421647678c0f328a9f9959c56a1cc9:/001/main.c diff --git a/001/main.c b/001/main.c index b087984..4dbedf4 100644 --- a/001/main.c +++ b/001/main.c @@ -1,11 +1,13 @@ +/* (c) 2020 Aaron Taylor */ +/* See LICENSE.txt file for copyright and license details. */ + +/* ROT13 Solution: Gur cebtenz cevagf "Uryyb, Jbeyq!" ba fgqbhg. */ + #include #include #include -#define FALSE "false" - - typedef define ; define typedef @@ -21,8 +23,7 @@ the code. */ %:define somewhere ??/ -http//example.com -/* TODO: Look up the correct URL. */ +http//example.com /* TODO: Look up the correct URL. */ int u,v = 42; /* Loop indices */ @@ -35,7 +36,7 @@ Handle with care! '\110',203>>1, (13<<3)|4,'\x6c',0x6F, ',',' ',' '+'-'-'-' -+067,0b1100100+0xa|1, ++067,0b1100100+0xa|true, 114,0x1b0>>2, (__unix<<7)-28, '"'-'\x1', @@ -50,7 +51,7 @@ define main(argc, argv) // Should I really exit this early in the function?????/ exit(0); - // TODO: Finish this conditional. + // TODO: Finish writing this conditional. if (!v) { // This is probably a better spot to exit the function. @@ -61,18 +62,22 @@ define main(argc, argv) // The main body of this loop may be studied further at: http://subgeniuskitty.com - while (FALSE) { +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""; + while ("TODO: How do I write a proper conditional for the while loop??/ + What should it reference??/ + How should the loop terminate??/ +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + ) { printf("%c", (v^v)[inside][inside]); - false[inside] -=- __unix; - if (!(inside['-'-'-'] != 017)) { + false [inside] -=- true; + if ((__unix>>true) + [inside][inside] == __unix>>true) goto main; - } else { + else goto somewhere; - } } -/* Recursive signal handler for proper initialization. */ -main:main(false,NULL); -({_:&&_;});??> +/* Recursive initialization. */ +main:main(false,NULL);??> main();