Could anyone point me to a piece of code that downloads an image?
edit: Maybe I can explain this better... I want to create a program where the user types in a url of a image (ex: http://www.cprogramming.com/cprog.gif) and it downloads the image to the programs folder.
I know how to do everything to create that program except the downloading part...:( Any help would be appreciated.
Try this function:
Okay seriously, you can just make a simple socket program. This is a very easy thing to do but there are many posts on the boards reguarding this subject so I'll let you look at those.
void *GetImageFromInternet(const char *url);