I have a program which takes in arguments.
The first argument is a string of legal characters
eg. myprog abcdef ..."a", "b", "c", "d" etc..
are all legal characters in this case.
how can I assign this string to a variable?
my main function is as follows:
int main(int argc, char *argv[]){
}
The first argument is a string of legal characters
eg. myprog abcdef ..."a", "b", "c", "d" etc..
are all legal characters in this case.
how can I assign this string to a variable?
my main function is as follows:
int main(int argc, char *argv[]){
}