Advertisement
obernardovieira

System (Varios)

Aug 15th, 2013
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.63 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main (void){
  5.     system ("color 17");
  6.     system ("title EXEMPLO DE COMANDOS");
  7.     printf ("Programa executado em:\n");
  8.     system ("cd");
  9.     printf ("\nRodando em sistema:");
  10.     system ("ver");
  11.     printf ("\nNo volume:\n");
  12.     system ("vol");
  13.     printf ("\n");
  14.     printf ("Verificando memoria...");
  15.     system ("mem");
  16.     printf ("\n");
  17.     system ("pause");
  18.     system ("cls");
  19.     system ("color 80");
  20.     printf ("programa completamente executado em\n");
  21.     system ("date/t");
  22.     printf ("as ");
  23.     system ("time/t");
  24.     printf ("\n\n");
  25.     system ("pause");
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement