Advertisement
jhonrey1011

Untitled

Jan 22nd, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 11.88 KB | None | 0 0
  1. #include <iostream>
  2. #include <conio.h>
  3. #include <Windows.h>
  4.  
  5. using namespace std;
  6.  
  7. void fontsize(int,int);
  8.  
  9. int main()
  10.     {
  11.         char meme_man[85][114] =
  12.                                 {
  13.                                     {"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},
  14.                                     {"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},
  15.                                     {"00000000010001010001011111010001000010001001111001100100001111001100101111100001000101111101000101111100000000000"},
  16.                                     {"00000000010001010001011111011001000010001001111001100100001111001100101111100001000101111101000101111100000000000"},
  17.                                     {"00000000010001010001010000011001000001010010000101100100001000101100100010000001101101000001101101000000000000000"},
  18.                                     {"00000000010001010001011100010101000001110010000101100100001111101100100010000001111101110001111101110000000000000"},
  19.                                     {"00000000010001011111011100010011000000100010000101100100001111001100100010000001010101110001010101110000000000000"},
  20.                                     {"00000000010101011111010000010011000000100010000101100100001000001100100010000001000101000001000101000000000000000"},
  21.                                     {"00000000010101010001010000010001000000100010000101100100001000001100100010000001000101000001000101000000000000000"},
  22.                                     {"00000000011011010001010000010001000000100010000101100100001000001100100010000001000101000001000101000000000000000"},
  23.                                     {"00000000011011010001010000010001000000100010000101100100001000001100100010000001000101000001000101000000000000000"},
  24.                                     {"00000000010001010001011111010001000000100001111000111000001000000111000010000001000101111101000101111100000000000"},
  25.                                     {"00000000010001010001011111010001000000100001111000111000001000000111000010000001000101111101000101111100000000000"},
  26.                                     {"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},
  27.                                     {"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},
  28.                                     {"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},
  29.                                     {"00000000000000000000000000000000010001001110100010000111100010000011110000000000000000000000000000000000000000000"},
  30.                                     {"00000000000000000000000000000000010001001110110010000111110010000011110000000000000000000000000000000000000000000"},
  31.                                     {"00000000000000000000000000000000011011010011110010000010110010000100011001000010000000000000000000000000000000000"},
  32.                                     {"00000000000000000000000000000000011111011111101010000010101010000100011001000010000000000000000000000000000000000"},
  33.                                     {"00000000000000000000000000000000010101011111100110000010100110000100000111111111100000000000000000000000000000000"},
  34.                                     {"00000000000000000000000000000000010001010011100110000010100110000100000111111111100000000000000000000000000000000"},
  35.                                     {"00000000000000000000000000000000010001010011100010000010100010000100000001000010000000000000000000000000000000000"},
  36.                                     {"00000000000000000000000000000000010001010011100010000010100010000100011001000010000000000000000000000000000000000"},
  37.                                     {"00000000000000000000000000000000010001010011100010000010100010000100011001000010000000000000000000000000000000000"},
  38.                                     {"00000000000000000000000000000000010001010011100010000111100010000011110000000000000000000000000000000000000000000"},
  39.                                     {"00000000000000000000000000000000010001010011100010000111100010000011110000000000000000000000000000000000000000000"},
  40.                                     {"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},
  41.                                     {"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},
  42.                                     {"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},
  43.                                     {"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},
  44.                                     {"00000000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000000000000000000"},
  45.                                     {"00000000000000000000000111111111000011100000000000000000000000000000000000000000000000000000000000000000000000000"},
  46.                                     {"00000000000000000000011100010110000000111000000000000000000000000000000000000000000000000000000000000000000000000"},
  47.                                     {"00000000000000000000110011001100000000001100000000000000000000000000000000000000000000000000000000000000000000000"},
  48.                                     {"00000000000000000001100000101000000000000110000000000000000000000000000000000000000000000000000000000000000000000"},
  49.                                     {"00000000000000000011000000110110000000000010000000000000000000000000000000000000000000000000000000000000000000000"},
  50.                                     {"00000000000000000110000000010100000000000011000000000000000000000000000000000000000000000000000000000000000000000"},
  51.                                     {"00000000000000001100000000011000000000000001100000000000000000000000000000000000000000000000000000000000000000000"},
  52.                                     {"00000000000000001000000000011000000000000000100000000000000000000000000000000000000000000000000000000000000000000"},
  53.                                     {"00000000000000011000000000011100000000000000100000000000000000000000000000000000000000000000000000000000000000000"},
  54.                                     {"00000000000000010000000000011100000000000000100000000000000000000000000000000000000000000000000000000000000000000"},
  55.                                     {"00000000000000110000000000011000000000000001110000000000000000000000000000000000000000000000000000000000000000000"},
  56.                                     {"00000000000000100000000000111100001111100011110000000000000000000000000000000000000000000000000000000000000000000"},
  57.                                     {"00000000000000100000000000111100010101100011000000000000000000000000000000000000000000000000000000000000000000000"},
  58.                                     {"00000000000000100000000000111100001100000011000000000000000000000000000000000000000000000000000000000000000000000"},
  59.                                     {"00000000000001100000000001111110000000000011110000000000000000000000000000000000000000000000000000000000000000000"},
  60.                                     {"00000000000001000000000011111110000000000000110000000000000000000000000000000000000000000000000000000000000000000"},
  61.                                     {"00000000000001000000001110111110000000000000010000000000000000000000000000000000000000000000000000000000000000000"},
  62.                                     {"00000000000001000010110111111110000000000000010000000000000000000000000000000000000000000000000000000000000000000"},
  63.                                     {"00000000000001001110111111111110000000000000010000000000000000111110111110100010011110000000000000000000000000000"},
  64.                                     {"00000000000001111011011111111111000000000000010000000000000000111110111110100010011110000000000000000000000000000"},
  65.                                     {"00000000000001110111111111111111000000000000010000000000000000001000100000100010100011000000000000000000000000000"},
  66.                                     {"00000000000001111111111111111110000000000000110000000000000000001000111000100010100011000000000000000000000000000"},
  67.                                     {"00000000000000111111111111111110000000000000100000000000000000001000111000111110100000000000000000000000000000000"},
  68.                                     {"00000000000000111111111110111011110011111110100000000000000000001000100000111110100000000000000000000000000000000"},
  69.                                     {"00000000000000111111111011101111110000111100100000000000000000001000100000100010100000000000000000000000000000000"},
  70.                                     {"00000000000000111110111111111111100000101001100000000000000000001000100000100010100011000000000000000000000000000"},
  71.                                     {"00000000000000111011101111111101001000000011000000000000000000001000100000100010100011000000000000000000000000000"},
  72.                                     {"00000000000000011111111101111111100111101111000000000000000000001000111110100010011110000000000000000000000000000"},
  73.                                     {"00000000000000011111111011011011110001111011000000000000000000001000111110100010011110000000000000000000000000000"},
  74.                                     {"00000000000000011111011110110110111000000010000000000000000000000000000000000000000000000000000000000000000000000"},
  75.                                     {"00000000000000001111110111001101111100000110000000000000000000000000000000000000000000000000000000000000000000000"},
  76.                                     {"00000000000000001111111011110111111100000100000000000000000000000000000000000000000000000000000000000000000000000"},
  77.                                     {"00000000000000001111111011010010111110001100000000000000000000000000000000000000000000000000000000000000000000000"},
  78.                                     {"00000000000000001111111111111101111111001000000000000000000000000000000000000000000000000000000000000000000000000"},
  79.                                     {"00000000000000000111111111101100010011111000000000000000000000000000000000000000000000000000000000000000000000000"},
  80.                                     {"00000000000000000111111111111011100010000000000000000000000000000000000000000000000000000000000000000000000000000"},
  81.                                     {"00000000000000000110111111111110111100000000000000000000000000000000000000000000000000000000000000000000000000000"},
  82.                                     {"00000000000000000110011111111100010100000000000000000000000000000000000000000000000000000000000000000000000000000"},
  83.                                     {"00000000000000000101110111111101111100000000000000000000000000000000000000000000000000000000000000000000000000000"},
  84.                                     {"00000000000000000101111111111101101100000000000000000000000000000000000000000000000000000000000000000000000000000"},
  85.                                     {"00000000000000000111110111111111100100000000000000000000000000000000000000000000000000000000000000000000000000000"},
  86.                                     {"00000000000000001111111111111110110100000000000000000000000000000000000000000000000000000000000000000000000000000"},
  87.                                     {"00000000000000001110010100111111100100000000000000000000000000000000000000000000000000000000000000000000000000000"},
  88.                                     {"00000000000000001100100000011111000100000000000000000000000000000000000000000000000000000000000000000000000000000"},
  89.                                     {"00000000000000001000000000000111000100000000000000000000000000000000000000000000000000000000000000000000000000000"},
  90.                                     {"00000000000000001000000000000110000110000000000000000000000000000000000000000000000000000000000000000000000000000"},
  91.                                     {"00000000000000001111100000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000"},
  92.                                     {"00000000000000001111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000"},
  93.                                     {"00000000000000000000111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},
  94.                                     {"00000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},
  95.                                     {"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},
  96.                                     {"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"},
  97.                                     {"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"}
  98.                                 };
  99.         system("mode con:cols=228 lines=86");
  100.         HWND consoleWindow = GetConsoleWindow();
  101.         SetWindowPos( consoleWindow, 0, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOZORDER );
  102.         fontsize(15,8);
  103.         ShowWindow(consoleWindow,SW_SHOWMAXIMIZED);
  104.         for(int x = 0; x <= 85; x++)
  105.         {
  106.             for(int y = 0; y <= 114; y++)
  107.             {
  108.                 if(meme_man[x][y] == '1')
  109.                 {
  110.                     cout<<"\xdb\xdb";
  111.                 }
  112.                 else if(meme_man[x][y] == '0')
  113.                 {
  114.                     cout<<"  ";
  115.                 }
  116.             }
  117.             cout<<"\n";
  118.         }
  119.         cout<<"Code by Jhonrey G. Daffon";
  120.         getch();
  121.         return 0;
  122.  
  123.     }
  124.  
  125.         void fontsize(int a, int b){  
  126.               PCONSOLE_FONT_INFOEX lpConsoleCurrentFontEx = new CONSOLE_FONT_INFOEX();  
  127.               lpConsoleCurrentFontEx->cbSize = sizeof(CONSOLE_FONT_INFOEX);  
  128.               GetCurrentConsoleFontEx(GetStdHandle(STD_OUTPUT_HANDLE), 0, lpConsoleCurrentFontEx);  
  129.               lpConsoleCurrentFontEx->dwFontSize.X = a;  
  130.               lpConsoleCurrentFontEx->dwFontSize.Y = b;  
  131.               SetCurrentConsoleFontEx(GetStdHandle(STD_OUTPUT_HANDLE), 0, lpConsoleCurrentFontEx);  
  132.          }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement