Download a file

+1 Franz Schmidt · July 14, 2014
Could someone explain me how to download a file from a url
e.g  I want to download this image from the url: http://i1.ytimg.com/vi/pMh10xQI6x8/maxresdefault.jpg

Post a Reply

Replies

Oldest  Newest  Rating
+1 Franz Schmidt · July 14, 2014
Thanks
0 Pere Garau Burguera · July 14, 2014
Hahaha.

You'll probably need a library. Take a look at libcurl http://curl.haxx.se It's useful for connecting to websites, downloading files... I don't know how to use it, I've never used it though.
0 Franz Schmidt · July 14, 2014
How could I forget about that?!? XD
No of course how can I do this with C++?
0 Pere Garau Burguera · July 14, 2014
In Chrome: Right click, save image as...

It's probably similar in other browsers
  • 1

C++

107,275 followers
About

Used in many types of software including music players, video games, and many large scale applications.

Links
Moderators
Bucky Roberts Administrator