peterzig

ASCII ART

Mar 8th, 2016
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.67 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <iostream>
  3. #include <conio.h>
  4.  
  5. using namespace std;
  6.  
  7.     int main()
  8.     {
  9.         for (;;) {
  10.         enum m; int n; long int o; double p; char r; float s;
  11.         cout << "+";
  12.         cout.width(60); cout.fill('-');
  13.         cout << "+" <<endl;
  14.         cout << "|          /$$$$$$              /$$                         |"<< endl;
  15.         cout << "|         /$$__  $$            | $$                         |"<< endl;
  16.         cout << "|        | $$    $$ /$$   /$$ /$$$$$$    /$$$$$$            |"<< endl;
  17.         cout << "|        | $$$$$$$$| $$  | $$|_  $$_/   /$$__  $$|          |"<< endl;
  18.         cout << "|        | $$__  $$| $$  | $$  | $$    | $$  | $$|          |"<< endl;
  19.         cout << "|        | $$  | $$| $$  | $$  | $$ /$$| $$  | $$|          |"<< endl;
  20.         cout << "|        | $$  | $$|  $$$$$$/  |  $$$$/|  $$$$$$/           |"<< endl;
  21.         cout << "|        |__/  |__/  ______/     ____/   ______/            |"<< endl;
  22.         cout << "|                                                           |"<< endl;
  23.         cout << "|         /$$   /$$/                        /$$             |"<< endl;
  24.         cout << "|        | $$  /$$/                        |__/             |"<< endl;
  25.         cout << "|        | $$ /$$/  /$$$$$$  /$$$$$$/$$$$  /$$  /$$$$$$$    |"<< endl;
  26.         cout << "|        | $$$$$/  /$$__ $$| $$_  $$_  $$| $$ /$$_____/     |"<< endl;
  27.         cout << "|        | $$  $$  |$$  |$$| $$ | $$ | $$| $$|  $$$$$$      |"<< endl;
  28.         cout << "|        | $$   $$ |$$  |$$| $$ | $$ | $$| $$ |______$$     |"<< endl;
  29.         cout << "|        | $$    $$| $$$$$$/|$$ | $$ | $$| $$ /$$$$$$$/     |"<< endl;
  30.         cout << "|        |__/   __/ ______/ |__/ |__/ |__/|__/|______/      | "<< endl;
  31.         cout << "|                                                           |" << endl;
  32.         cout << "|                       ASCII ART BY PETER                  |" << endl;
  33.         cout << "|                                                           |" << endl;
  34.         cout << "|              Projekt Programowanie Obiektowe              |" << endl;
  35.         cout << "|Autorzy: P.Zaporowski, T.Demczuk, A.Cieniuch, K.Chmielowski|" << endl;
  36.         cout << "+";
  37.         cout.width(60); cout.fill('-');
  38.         cout << "+" << endl;
  39.         _sleep(3000);
  40.         system("cls");
  41.         cout << " Menu glowne podaj nr elementu: " << endl;
  42.         cin >> n;
  43.         switch (n)
  44.         {
  45.         case 1: cout << "1.Pierwszy element: " << sizeof(m); break;
  46.         case 2: cout << "2.Pierwszy element" << sizeof(n); break;
  47.         case 3: cout << "3.Pierwszy element" << sizeof(o); break;
  48.         case 4: cout << "4.Pierwszy element" << sizeof(p); break;
  49.         case 5: cout << "5.Pierwszy element" << sizeof(r); break;
  50.         case 6: cout << "6.Pierwszy element" << sizeof(s); break;
  51.         default: cout << "Koniec programu"; break;
  52.         }
  53.         _getch();
  54.         }
  55.         return 0;
  56.     }
Advertisement
Add Comment
Please, Sign In to add comment