头文件:
#include <afxinet.h>
源码:
//定义
CInternetSession httpSession ;
CHttpFile * htmlFile=NULL ;//打开网页
htmlFile=(CHttpFile*)httpSession.OpenURL(http://www.baidu.com/);//读取网页数据
CString str;
CString info=\"\
头文件:
#include <afxinet.h>
源码:
//定义
CInternetSession httpSession ;
CHttpFile * htmlFile=NULL ;//打开网页
htmlFile=(CHttpFile*)httpSession.OpenURL(http://www.baidu.com/);//读取网页数据
CString str;
CString info=\"\