I want to get a HTML and use like a file in C. Actually I can do that, but I have to save the file first on the disk and then use fopen(“/file.html”, “r”);. What I would like to do is to extract the html directly from the URL and work with it.
Hypothetically, fopen(“http://www.google.com“, “r”);
I saw something about libcurl but I don’t know if it will help me.
You can do something as simple as:
Source: Using cURL in C
You can get the complete function documentations here: Using The libcurl C Interface
This PDF link will help you in using libcurl in VS