By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,847 Members | 2,206 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,847 IT Pros & Developers. It's quick & easy.


P: 25
Write a C procedure that checks the CLAs for the value "-x", and if it finds it, it removes it from argv and adjusts argc accordingly. Test your code by printing out all CLAs, then calling your routine, the printing out the adjusted CLAs.

Could someone help me please? Thanx
Nov 2 '06 #1
Share this Question
Share on Google+
1 Reply

P: 25
Should I use temporary variables to store the argv removed? Is there anything else to be imported via parameter list in the procedure beside the pointer to command line argument itself?

Nov 2 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.