Wish I'd learned this long ago.
I was screwing around and found you can make a strobe light effect in a .cmd as well as an executable.
Code:
@echo off
:loop
color 0a
title 2987
color 0b
title 347478
echo fUcK yOu
color 0c
title shdfgs
color 12
title kh354z
color 23
echo fUcK yOu
color 34
color 45
color 56
color 67
echo You've been fucked!
color 78
goto loop
and the executable:
Code:
#include "include.h"
int main()
{
while(1)
{
string fuckyou = "fUcK yOu!!";
system("color 0a");
system("title 2987");
system("color 0b");
system("title 347478");
cout << fuckyou <<endl;
system("color 0c");
system("title shdfgs");
system("color 12");
system("title kh354z");
system("color 23");
cout << fuckyou <<endl;
system("color 34");
system("color 45");
system("color 56");
system("color 67");
cout <<"You've been fucked"<<endl;
system("color 78");
}
return 0;
}
If you're wondering why I have include.h, it's because I just chuck all my includes in there and call it kewl.
This was useless but a fun discovery nonetheless.