what is the best way to do this?
I do know how to open the file and read the args into a variable, but how would you pass them to argc and argv?
something llike:
after that I get lost...Code:if(argc==1){
file=fopen("c:\\args.txt","r");
if(file==NULL){
return 1;
}
else{
while(fgets(arg,MAX_PATH,file)!=NULL){
}
}
what do I need to do next?