nel caso di argv[] dovresti fare una cosa del genere...
codice:char str[222] = "dir"; for (i=0; i < argc; i++) { strcat (str, argv[i]); } system (str);
nel caso di argv[] dovresti fare una cosa del genere...
codice:char str[222] = "dir"; for (i=0; i < argc; i++) { strcat (str, argv[i]); } system (str);
PoWered by:
Gentoo 1.5.3 - Kernel 2.6.7
Debian Sid - Kernel 2.6.7 - Bash 3.0
Slackware current - Kernel 2.6.7