Hi all,
I am just trying to write a program that will echo the command line minus the program name... here is my code, any idea why it doesn't work? Thanks!
Code:#include <stdio.h> int main(int argc, char * argv []) { argv = argv+1; printf(" \n"); while(**argv != NULL) { while (**argv != NULL) { putchar(**argv); ++(*argv); } argv = argv + 1; } return 0; }