Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //################################Estudo de sequencia de escape##############//
- /* Codigo de estudo do Jmaba dyes 14/03/2016 hor 21:42 */
- #include <iostream>
- #include <stdlib.h>
- #include <stdio.h>
- #include <string>
- #include <windows.h>
- using namespace std;
- int main (){
- int numero = 0;
- std::cin >>numero;
- // 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.
- std::cout<<"Ola Naelson \a \n";
- std::cout<<"Ola Naelson \t \n";
- std::cout<<"Ola Naelson \r \n";
- std::cout<<"Ola Naelson \\ \n";
- std::cout<<"Ola Naelson \' \n";
- std::cout<<"Ola Naelson \" \n";
- std::cout<<"Ola Naelson \r \n";
- std::cout<<"Ola Naelson \r \n";
- std::cout<<"Ola Naelson \r \n";
- std::cout<<"Ola Naelson \r \n"; // não avança para proxima linha ele retorna ensima da linha atual;
- // barra invertida e a letra a da um som do sistema
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement