Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

sarcasm

Just a small program that will upper-case every second letter.

Features

  1. Blazing(420)ly fast because it's written in C++.
  2. It checks for numbers and skips the upper-case check for those.
  3. 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)

Compilation

Use any C++ compiler you have on your PC.

Linux:
$ g++ sarcasm.cpp -o sarcasm

Windows:
Good luck!

MacOS:
Good luck!

Usage

Linux:
$ ./sarcasm <words or sentence>

Windows:
Good luck!

MacOS:
Good luck!

Example

$ ./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.

About

just a small program that will upercase every second letter

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages