Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Programa: Usar acentos no printf
- * Data de criação: 15/09/2015
- * Autor: Eric Cancellgliere (http://programacaoemfoco.com.br)
- * Versão: 1.0
- * Última modificação em [15/09/2015] feita por [Eric Cancellgliere]
- */
- //bibliotecas
- #include <stdlib.h>
- #include <stdio.h>
- #include <locale.h>
- int main(void){
- //comando de regionalização
- setlocale(LC_ALL, "Portuguese_Brazil");
- //exibição do texto
- printf ("Programação em Foco\n\n");
- system ("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement