Skip to content

Tag: recursion

Copy and replace file recursively

I try to find a way to copy and replace files recursively. Example: Folder /home/test/ You can see that in folder /home/test I have more and more folders (1,2,3,4) which file name ‘test.jpg’. I have a file /home/test.jpg Question: How to replace file ‘test.jpg’ in 1/2/3/4(folders) with…

Recursion using main() function [closed]

It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago. I am writing a prog…