thegame8311
Technical User
I was wondering if the is a way to extract web data using visual C++. If I tried to do it though the Windows console attached to my project would that work or is there a better method
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#include "stdafx.h"
#include <urlmon.h>
#include <iostream>
#include <tchar.h>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
HRESULT hr = URLDownloadToFile(NULL, _T("[URL unfurl="true"]http://www.nfl.com"),[/URL] _T("test2.html"), 0, NULL);
cout << "hi" << endl;
system("PAUSE");
return 0;
}