I want to build a hirarchical path for copying a file. Means ..
file in source dir is : "./../t/t1/myfile"
Destination dir is: "./../t/t2/"
Now, I want to copy myfile from t1 directory to destination directory t2.
How strrchr() will help me?
how do I do with that?
Any suggestion please??