How do you have the user input the folder name and have it created in the desktop (for mac)? This is what I have so far.. (and extra code underneath)
#include &
Environment variables are case sensitive, so you need to use getenv("HOME") instead of getenv("Home").
getenv("HOME")
getenv("Home")