I'm new to C++.

Can anyone give me a lead on how to solve the following problem:


1. check at a particular folder if folder date_x exists

2. if not create it

3. move contents of another folder (call it y) to folder date_x

4. this should leave folder y empty.