title: How to download an image from an URL to a local dir?
body: <p>I'm using C++ without .NET on Win32, how can I download an image over HTTP from a website without having to re-invent the wheel? Is there an API or library that provides a single function to do this?</p>
  
  <p><a href="http://mywebsite/file.imgext" rel="noreferrer">http://mywebsite/file.imgext</a> --> C:\path\to\dir\file.imgext</p>