[Logo]
Forums Register Login
Copying arguments in C
i want to moved the position of the argument passed in the terminal using a function and a while loop, my problem is that the last argument passed has no place to be copied to, and i want it to be copied to the 1st argument.the code below describes everything

  

  
Not sure the code describes everything. Are you expecting 1 or 2 or many arguments on the command line? Maybe provide the command line syntax? (exec arg1 arg2 arg3)
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards


This thread has been viewed 64 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 21, 2018 02:36:50.