Advertisement
LinguagemC

CodigoDeFormato

Aug 24th, 2016
2,674
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4.  
  5.     using namespace std;
  6.  
  7. int main(){
  8.  
  9.  
  10.     /* ## Codigo ##                    ## Formato ##           */
  11. //        %c                              Caracter
  12. //        %d                          Numero Decimal (INT)
  13. //        %e                   Numero em notacao cientifica com o "e" Minusculo
  14. //        %E                   Numero em notacao cientifica com o "E" Maiusculo
  15. //        %f                   Ponto flutuante
  16. //        %g                   Escolher automaticamente o melhor entr %f e %e
  17. //        %G                   Escolher automaticamente o melhor entr %f e %e
  18. //        %o                   Numero octal
  19. //        %s                   String
  20. //        %u                   Decimal sem sinal (unsigned)
  21. //        %x                   Hexdcimal com letra minuscula
  22. //        %X                   Hexdcimal com letra maiuscula
  23. //        %%                   Imprime um %
  24. //        %p                   Ponteiro
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement