文件名称:diwnload
- 所属分类:
- 远程控制编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.09mb
- 下载次数:
- 0次
- 提 供 者:
- 刘*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
一个简单的下载#include<windows.h>
#include<urlmon.h>
#include<process.h>
#include<Shellapi.h> //这个头文件里有ShellExecute的定义
#pragma comment (lib,"Urlmon.lib")
int main()
{
URLDownloadToFile(NULL,"http://www.baidu.com/img/baidu_sylogo1.gif","D:\\logo.gif",0,NULL)
ShellExecute(0,"open","D:\\logo.gif",NULL,NULL,SW_SHOW)
exit(0)
return 0
}
者源码 -#include<windows.h>
#include<urlmon.h>
#include<process.h>
#include<Shellapi.h> //这个头文件里有ShellExecute的定义
#pragma comment (lib,"Urlmon.lib")
int main()
{
URLDownloadToFile(NULL,"http://www.baidu.com/img/baidu_sylogo1.gif","D:\\logo.gif",0,NULL)
ShellExecute(0,"open","D:\\logo.gif",NULL,NULL,SW_SHOW)
exit(0)
return 0
}
#include<urlmon.h>
#include<process.h>
#include<Shellapi.h> //这个头文件里有ShellExecute的定义
#pragma comment (lib,"Urlmon.lib")
int main()
{
URLDownloadToFile(NULL,"http://www.baidu.com/img/baidu_sylogo1.gif","D:\\logo.gif",0,NULL)
ShellExecute(0,"open","D:\\logo.gif",NULL,NULL,SW_SHOW)
exit(0)
return 0
}
者源码 -#include<windows.h>
#include<urlmon.h>
#include<process.h>
#include<Shellapi.h> //这个头文件里有ShellExecute的定义
#pragma comment (lib,"Urlmon.lib")
int main()
{
URLDownloadToFile(NULL,"http://www.baidu.com/img/baidu_sylogo1.gif","D:\\logo.gif",0,NULL)
ShellExecute(0,"open","D:\\logo.gif",NULL,NULL,SW_SHOW)
exit(0)
return 0
}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
diwnload\Debug\diwnload.exe
........\.....\diwnload.ilk
........\.....\diwnload.pch
........\.....\diwnload.pdb
........\.....\liu.obj
........\.....\vc60.idb
........\.....\vc60.pdb
........\diwnload.dsp
........\diwnload.dsw
........\diwnload.ncb
........\diwnload.opt
........\diwnload.plg
........\liu.cpp
........\Debug
diwnload
........\.....\diwnload.ilk
........\.....\diwnload.pch
........\.....\diwnload.pdb
........\.....\liu.obj
........\.....\vc60.idb
........\.....\vc60.pdb
........\diwnload.dsp
........\diwnload.dsw
........\diwnload.ncb
........\diwnload.opt
........\diwnload.plg
........\liu.cpp
........\Debug
diwnload