I’m making a program to setup a server, but I can’t find out how to download a file from the internet in the c++ program. Preferably downloading a library or something.
Also, I am still a beginning programmer.
I’m using:
Microsoft Windows 7 Professional 64x
Notepad ++
Borland’s C++ compiler v5.1
I’m making a program to setup a server, but I can’t find out how
Share
There are many ways of doing that. The best for you way to go about this, in my opinion, is by using cURL library (aka
libcurl). Start from reading some documentation. This example can also be helpful as it does exactly that. And of course you can always go other (less popular?) ways:Hope it helps.