daily pastebin goal
70%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int main(int argc, char *argv[])
  2. {
  3.     if (argc <= 1){
  4.         printf("argv an der Stelle 0:%s \n", argv[0]);
  5.     }
  6.     else{
  7.         int i = 0;
  8.         printf("Es wurden %d Parameter ├╝bergeben \n", argc);
  9.  
  10.         for(i = 0; i < argc; i++){
  11.             printf("argv an der Stelle %d: %s \n", i, argv[i]);
  12.         }
  13.  
  14.     }
  15.  
  16.     system("pause");
  17.  
  18.     return 0;
  19. }
RAW Paste Data
Top