Does anybody know if the system( ) function will use the same command line arguments as the program that the function is in? Ex.
void main(int argc, char *argv){
...
system( program arg1 arg2 arg3);
}
Am I correct in thinking that arg1, arg2, and arg3 are totally independent of main's arguments. Also, if you mix cases in Unix will that cause the program to fail? Ex. int Int?
Thanks for the help.
void main(int argc, char *argv){
...
system( program arg1 arg2 arg3);
}
Am I correct in thinking that arg1, arg2, and arg3 are totally independent of main's arguments. Also, if you mix cases in Unix will that cause the program to fail? Ex. int Int?
Thanks for the help.