Dear Friends,
For moving files I used the following code
sprintf(cpy,"mv %s%0.2f %s%0.2f","/var/data/lo,versionold,"/var/data/lo2",versionnew );
system(cpy);
Is there any problem using "system()". any portability issue? what are the defects using system()?
thanks,
john
For moving files I used the following code
sprintf(cpy,"mv %s%0.2f %s%0.2f","/var/data/lo,versionold,"/var/data/lo2",versionnew );
system(cpy);
Is there any problem using "system()". any portability issue? what are the defects using system()?
thanks,
john
Comment