Tuesday, 15 January 2013

THE MATRIX



              #include <iostream>
              #include <conio>
              #include <stdio>
              #include <windows>
              #include <stdlib>




              int main()

              {
                  int a;
                char str[45][45]={  "A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","0","1","2","3","4","5","6","7","8","9"," "," "," ","!","?" "@","#","%","*","+"};

                system("TITLE THE MATRIX");
                system("color 2A");
                while(1)
                {
                   Sleep(25);
                   for(int i=0;i<20;i++)

                   {
                    a=rand()%42;
                    cout<<" "<<str[a];
                    cout<<" ";
                   }
                   cout<<endl;
                }


              getch();
              return 0;}

0 comments:

Post a Comment