how to wget on windows

C++
#you can perform similar to wget with this command in powershell, accept all certs in test mode
 $client = new-object System.Net.WebClient
 [System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true} ;
 $client.DownloadString("https://url-url-here")
Source

Also in C++: