let's say have a string: string str="arg1 arg2 arg3";
I need to convert it to
char **s where s={arg1, arg2,arg3, NULL};
has anyone encountered this problem and has fast solution?
Thanks
I need to convert it to
char **s where s={arg1, arg2,arg3, NULL};
has anyone encountered this problem and has fast solution?
Thanks
Comment