c++如何实现图片的下载,使用http协议!
求大神指点实现的方法及所需的类!
[解决办法]
是Wininet库中导出的API, 只要有相关头文件和库就可以实现.
[解决办法]
MFC Classes for Creating Internet Client Applications
Home
[解决办法]
Overview
[解决办法]
How Do I
MFC provides the following classes and global functions for writing Internet client applications. Indentation indicates a class is derived from the unindented class above it. CGopherFile and CHttpFile derive from CInternetFile, for example.
Classes:
CInternetSession
CInternetConnection
CFtpConnection
CGopherConnection
CHttpConnection
CInternetFile
CGopherFile
CHttpFile
CFileFind
CFtpFileFind
CGopherFileFind
CGopherLocator
CInternetException
Global functions:
AfxParseURL
AfxGetInternetHandleType
AfxThrowInternetException
These classes and global functions are declared in AFXINET.H, except CFileFind, which is declared in AFX.H.