#include #include #include void sleep(float nbr_seconds); void flasher(void); int main(void) { int x,y,z; char sentence[4][27] = {{"Wake up, Neo. \n\n"},{"The matrix has you..... \n\n"},{"Follow the white rabbit \n\n"},{"Knock Knock Neo. \n\n"}}; for(y=0;y<4;y++){ for(x=0;x<25;x++){ system("COLOR 02"); printf("%c", sentence[y][x]); if(sentence[y][x] == 32 && sentence[y][(x+1)] == 32){ x = 25; for(z=0;z<5;z++){ flasher(); } } flasher(); } system("cls"); } while(5<6){ printf("001101010101111000011010"); } return 0; } void sleep(float nbr_seconds) { clock_t goal; goal = (nbr_seconds * CLOCKS_PER_SEC) + clock(); while( goal>clock()) {;} } void flasher(void){ int x; for(x=0;x<1;x++){ printf("%c",219); sleep(0.2); printf("%c%c%c",8,255,8); sleep(0.2); } return; }