Advertisement
Guest User

1313

a guest
Oct 16th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <Windows.h>
  3. #include <iostream>
  4. #include <stdio.h>
  5. #include <stdlib.h>
  6. #include <conio.h>
  7. #include <string>
  8.  
  9. using namespace std;
  10.  
  11. int main(int argc, char *argv[])
  12. {
  13. setlocale(LC_ALL, "Rus");
  14. int a;
  15. string array[42] = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "O", "P", "Q",
  16. "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "1", "2", "3", "4", "5", "6", "7", "8", "9", " ", " ", " ", "?", "!", "#" };
  17. system("The Wing's Matrix Project");
  18. system("color 0A");
  19. while (1)
  20. {
  21. Sleep(25);
  22. for (int i = 0; i<20; i++)
  23. {
  24. a = rand() % 42;
  25. cout << " " << array[a];
  26. cout << " ";
  27.  
  28. }
  29.  
  30. cout << endl;
  31. }
  32. _getch();
  33. return(0);
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement