#include < stdio.h >
int main (int argc, char* argv[], char* e[]){
int i;
printf("%d\n", argc);
printf("PRINT ARGUMENTS\n");
for(i=0; i < argc; i++) {
printf("%d : %s\n", i, argv[i]);
}
printf("\nPRINT ENVIRONMENT\n\n");
for(i=0; e[i]; i++) {
printf("%d : %s\n", i, e[i]);
}
return 0;
}
Thursday, December 3, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment