google = cpp print file from url
Mozna
TCHAR url[] = TEXT("http://google.com");
HRESULT res = URLDownloadToFile(NULL, url, path, 0, NULL);
#include <fstream>
.......
ifstream fin;
fin.open(filename, mode);
......
fin.close();
// OR combine declaration and open()
ifstream fin(filename, mode);
https://www.ntu.edu.sg/home/ehchua/programming/cpp/cp10_IO.html