Текст с рамка

Да се изведе текст в центъра на екрана. Около него да има рамка с избран символ. След натискане на клавиш текста да изчезне.

Публикувано в 11а, 11в с етикети , . Постоянна връзка.

3 коментара по Текст с рамка

  1. LoL каза:
    #include <cstdlib>
    #include <iostream>
    
    using namespace std;
    
    int main(int argc, char *argv[])
    {
        cout<<"& & & & & & & &  &"<<endl;
        cout<<"&                &"<<endl;
        cout<<"& Zdravei az sum &"<<endl;
        cout<<"&     krasiv\a\a\a     &"<<endl;
        cout<<"&                &"<<endl;
        cout<<"& & & & & & & &  &"<<endl;
    
        system("PAUSE");
        cout<<"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"<<endl;
        system("PAUSE");
        return EXIT_SUCCESS;
    }
    
  2. SvetoslavaPamela каза:
    #include <cstdlib>
    #include <iostream>
    
    using namespace std;
    
    int main(int argc, char *argv[])
    {
      cout<<"**************"<<endl;
      cout<<"*            *"<<endl;
      cout<<"*" " " "Svetoslava\a \a \a \a \a \a \a" " " "*"<<endl;
      cout<<"*" " " "Pamela\a" " " " " " " " " " " "*"<<endl;
      cout<<"*" " " "Viktoriq\a" " " " " " " "*"<<endl;
      cout<<"*" " " " " " " " " " " " " " " " " " " " " " " " " "*"<<endl;
      cout<<"**************"<<endl;
      
      
        
        system ("PAUSE");
        return EXIT_SUCCESS;
    }

Вашият коментар