05.02 Текст в центъра

Да се изведе текст в центъра на екрана. След натискане на клавиш текста да изчезне.

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

3 коментара по 05.02 Текст в центъра

  1. PICHAGISME каза:
     #include <cstdlib>
    #include <iostream>
    #include <conio.h>
    using namespace std;
    
    int main(int argc, char *argv[])
    { 
        cout << "                           po sredata e !!                    " <<endl;
        system("PAUSE");
        system (" CLS ");
        system("PAUSE");
        return EXIT_SUCCESS;
    }
    
     
  2. Nadq каза:
    #include <cstdlib>
    #include <iostream>
    
    using namespace std;
    
    int main(int argc, char *argv[])
    {
        cout<<"\n\n\n\n\n\t\t\ *************************************"<<endl;
         cout<<" \n\n";
         cout<<" \t\t\t\t";     
         cout<<" Zdravei ! ";
         cout<<"\n\n";    
        cout<<"\n\n\t\t *************************************"<<endl;
        cout<<"\n\n\n\n\n\n\n\n\n\n"<<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\n\n\n";
         system("PAUSE");
        
        
        
        
        return EXIT_SUCCESS;
    }
     
    
  3. Kosmos каза:
    #include <cstdlib>
    #include <iostream>
    
    using namespace std;
    
    int main(int argc, char *argv[])
    {
        cout<<"\n\n\n\n\n\n\n\n\n\n\n\n";
        cout<<"\t\t\t\tMiro & Iliqn ";
        cout<<"\n\n\n\n\n\n\n\n\n\n\n\n";
        system("PAUSE");
        cout<<"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
        system("PAUSE");
       
        return EXIT_SUCCESS;
    }
    
    

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