/***********************************************
* released under (E) licensing ... *
* (E) RULES AND REGULATIONS *
* permission to use/rewrite/add : granted *
* permission to trojan/steal : denied *
* permission to use illegally : denied *
* permission to use on /dev/urandom : denied *
***********************************************/
/* contact el8@press.co.jp for full license */
/* code copyrighted by ~el8 -- don't infringe! */
#define LIGHT_COLOR "\033[0;36m"
#define BRIGHT_COLOR "\033[1;36m"
#define light(x) printf("\033[m%s%c",LIGHT_COLOR,x)
#define bright(x) printf("\033[m%s%c",BRIGHT_COLOR,x)
#include <stdio.h>
void
main(void)
{
char peep;
int x=0;
for(;(peep=getchar())!=EOF;x++)
if (x%2==0) light(peep); else bright(peep);
puts("\033[m");
}
syntax highlighted by Code2HTML, v. 0.9.1