He is a barbarian, and thinks the customs of his tribe and island are the laws of nature.
Behold- the ancient incantation:
wizardanon/wizardanon-day03.cppwizardanon/wizardanon-day03.cpp
#include "stdafx.h" #include "fstream" #include <iostream> #include <fstream> #include <string> using namespace std;
#define Modulorulum % #define Newlinius '\n'; #define Integerius int #define Openum { #define Closeth } #define Nullus 0 #define Incantation #define ScryYonder getline #define HearYe return #define Hithero while #define Behold(x) std::cout << x << Newlinius #define Portal std::ifstream #define Summon(x) f(x) #define Appendo ++ #define Equilarmius = #define IsItSo if #define Scrivening string #define Scriv char Integerius main() Openum Portal Summon("day3.txt"); Scrivening Forest; Scriv WoodenOne = '#'; Integerius TreesBetwixt = Nullus; Integerius Footfalls = Nullus; Integerius Terminus = 31; Integerius Cockatrice = 3; IsItSo (f.is_open()) Openum Hithero ( ScryYonder (f, Forest) ) Openum Integerius index Equilarmius (Footfalls Appendo * Cockatrice) Modulorulum Terminus; IsItSo ( Forest.at(index) == WoodenOne ) Openum TreesBetwixt Appendo; Closeth Closeth Closeth Behold( TreesBetwixt ); HearYe Nullus; Closeth
Need more be said?