Advertisement
Jambix64

SequenciaDeEscape

Jul 4th, 2016
441
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.98 KB | None | 0 0
  1. //################################Estudo de sequencia de escape##############//
  2. /* Codigo de estudo do Jmaba dyes 14/03/2016 hor 21:42 */
  3.  
  4. #include <iostream>
  5. #include <stdlib.h>
  6. #include <stdio.h>
  7. #include <string>
  8. #include <windows.h>
  9. using namespace std;
  10.  
  11. int main (){
  12.    
  13.      int numero = 0;
  14.      std::cin >>numero;
  15.      // sair na tela  declarando o "std::cout" e removendo endl;  pode usa de duas formas o using namespace std; ou pucha  ele  dessa forma std::cout.
  16.     std::cout<<"Ola Naelson \a  \n";
  17.     std::cout<<"Ola Naelson \t  \n";
  18.     std::cout<<"Ola Naelson \r  \n";
  19.     std::cout<<"Ola Naelson \\  \n";
  20.     std::cout<<"Ola Naelson \'  \n";
  21.     std::cout<<"Ola Naelson \"  \n";
  22.     std::cout<<"Ola Naelson \r  \n";
  23.     std::cout<<"Ola Naelson \r  \n";
  24.     std::cout<<"Ola Naelson \r  \n";
  25.     std::cout<<"Ola Naelson \r  \n"; // não avança para proxima linha ele retorna ensima da linha atual;
  26.     // barra invertida e a letra a da um som do sistema
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement