Just a small program that will upper-case every second letter.
- Blazing(420)ly fast because it's written in C++.
- It checks for numbers and skips the upper-case check for those.
- It checks for already upeer-case letters and skips the check for those aswell so that words/acronyms that need to stay upper-case, actually stay upper-case (for example: NASA)
Use any C++ compiler you have on your PC.
Linux:
$ g++ sarcasm.cpp -o sarcasm
Windows:
Good luck!
MacOS:
Good luck!
Linux:
$ ./sarcasm <words or sentence>
Windows:
Good luck!
MacOS:
Good luck!
$ ./sarcasm i love living life. every day i think about all of the great things i could achieve. i'd be so sad if one day i stopped living because i'd make all of my family and friends, whom i care a lot about, very sad.
output:
i LoVe LiViNg LiFe. EvErY dAy I tHiNk AbOuT aLl Of ThE gReAt ThInGs I cOuLd AcHiEvE. iD bE sO sAd If OnE dAy I sToPpEd LiViNg BeCaUsE iD mAkE aLl Of My FaMiLy AnD fRiEnDs, WhOm I cArE a LoT aBoUt, VeRy SaD.