I'm trying to auto-download any website's source code by entering its URL
I did some search on Google and the forum
only found this AU3
but its a AU3 file and I do not understand it at all
does anyone has a suggestion for me?
any website that I should check? or code that anyone worked on?

btw if anyone is so kind to post his code
I'll be asking "a lot" of questions

To do that with C++, you need something like libcurl (http://curl.haxx.se/libcurl/).

To do that with C++, you need something like libcurl (http://curl.haxx.se/libcurl/).

That is what OP need. But be warned of this:

There's basically only one thing to keep in mind when using C++ instead of C when interfacing libcurl:

The callbacks CANNOT be non-static class member functions

Example C++ code:

class AClass {   static size_t write_data(void *ptr, size_t size, size_t nmemb,   void *ourpointer)   {   /* do what you want with the data */   }  }

Source

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.