Two words:
ZIP file.
Dang, you beat me to it. I second the aforementioned ZIP file. ZIPs can keep files names as well as folders, so you can archive in a hierarchical way. Plus, as icing, you get compression! (If you choose to use it.) There are already tons of libraries out there to work with zip, such as libzip and zziplib (although I'm not sure if zziplib does writing...).Two words:
ZIP file.
Otherwise, if you want to implement it yourself for learning purposes, and thus need/want something simpler, there's TAR, and there ought to be some libraries out there for that too. Might not be simple, but you could boil off most of the details are create something similar.
long time; /* know C? */
Unprecedented performance: Nothing ever ran this slow before.
Any sufficiently advanced bug is indistinguishable from a feature.
Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31.
The best way to accelerate an IBM is at 9.8 m/s/s.
recursion (re - cur' - zhun) n. 1. (see recursion)