CLI software in C++ to download program from URL