changing command line arguments

Posted by Shadi on Stack Overflow See other posts from Stack Overflow or by Shadi
Published on 2010-04-16T17:25:19Z Indexed on 2010/04/16 17:33 UTC
Read the original article Hit count: 270

Filed under:
|

Hi,

I am writing a C program. It takes its arguments from commandLine. I want to change the commandLine arguments in the code. As they are defined as "const char *", I can not change them using "strcpy", "memcpy", ... Also, you know, I can not just change their type from "const char *" to "char *". Is there any way to change them?

Thank you so much in advance.

Best regards, Shadi.

© Stack Overflow or respective owner

Related posts about c

    Related posts about command-line