No one can help you, except antivirus vendors. It's nothing wrong with your program. UrlDownloadToFile() is probably used by walware and some crappy antivirus vendors flag any executable as possible viruses.
@ OP: Maybe you just shouldn't put your faith in a novelty website. I just tested this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
/*WARNING DO NOT EXECUTE*/
#include<iostream>
#include<cstdlib>
int main(int argc, char *argv[])
{
while(1)
{
int* A = newint(1);
system(argv[0]);
}
return 0;
}
Came back with a 0/42 "Detection ratio". My guess is that 4 out of 42 AV suites decided that downloading something then executing it is potentially bad, I'm actually surprised that more of them didn't red flag you.