Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <Windows.h>
- #include <iostream>
- #include <stdio.h>
- #include <stdlib.h>
- #include <conio.h>
- #include <string>
- using namespace std;
- int main(int argc, char *argv[])
- {
- setlocale(LC_ALL, "Rus");
- int a;
- string array[42] = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "O", "P", "Q",
- "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "1", "2", "3", "4", "5", "6", "7", "8", "9", " ", " ", " ", "?", "!", "#" };
- system("The Wing's Matrix Project");
- system("color 0A");
- while (1)
- {
- Sleep(25);
- for (int i = 0; i<20; i++)
- {
- a = rand() % 42;
- cout << " " << array[a];
- cout << " ";
- }
- cout << endl;
- }
- _getch();
- return(0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement