当前位置:网站首页>#pragma comment(lib,“urlmon.lib“)
#pragma comment(lib,“urlmon.lib“)
2022-06-13 01:22:00 【Zhao_| adult】
#include <tchar.h>
#include <iostream>
#include <string>
#include <urlmon.h>
/* * #pragma comment(lib,"urlmon.lib") effect : * Connect static library urlmon.lib To project : The effect is equivalent to : * Item attribute -- The connector -- Input -- Add dependencies to this lib; * * //! There is no need to urlmon.lib File or urlmon.dll Add file to project file */
#pragma comment(lib,"urlmon.lib")
#define URL "http://vfx.mtime.cn/Video/2019/02/04/mp4/190204084208765161.mp4"
#define SAVEPATH "C:\\Users\\ZhaoCheng\\Desktop\\ Tame a dragon .mp4"
using namespace std;
int main()
{
//_T(x)==>__T(x)==> L ## x //! take L And x come together
HRESULT hr = URLDownloadToFile(NULL,_T(URL), _T(SAVEPATH), 0, NULL);
if (hr == S_OK)
{
cout << "download finished!" << std::endl;
}
else
{
cout << "download failed!" << std::endl;
}
return 0;
}
边栏推荐
- Continue when the condition is not asked, execute the parameter you compare
- How to turn on the hotspot for the mobile phone after the computer is connected to the network cable
- Differences among bio, NiO and AIO
- What kind of experience is it to be a software test engineer in a state-owned enterprise: every day is like a war
- Wikipedia API User Guide
- Lecture on Compilation Principles
- spiral matrix visit Search a 2D Matrix
- Method of cleaning C disk
- MySQL index
- How the ET framework uses it to develop games
猜你喜欢

【斯坦福計網CS144項目】Lab1: StreamReassembler

5G工业网关在煤矿行业的应用优势
![[Latex] 插入圖片](/img/0b/3304aaa03d3fea3ebb93b0348c3131.png)
[Latex] 插入圖片
![[leetcode] valid phone number Bash](/img/f8/cecb74f9d8f7c589e62e3a9a874f82.jpg)
[leetcode] valid phone number Bash
![[Latex] 插入图片](/img/0b/3304aaa03d3fea3ebb93b0348c3131.png)
[Latex] 插入图片

Minimum spanning tree problem

论文笔记:STMARL: A Spatio-Temporal Multi-AgentReinforcement Learning Approach for Cooperative Traffic

Minimum score of one question per day

pycharm add configutions

Leetcode question brushing 03 stack
随机推荐
Realization of flip animation
Common skills for quantitative investment - drawing 2: drawing the moving average
[从零开始学习FPGA编程-22]:进阶篇 - 架构 - FPGA内部硬件电路的设计与建模
Wikipedia User Guide
How the ET framework uses it to develop games
[latex] insert picture
Facial expression recognition dataset
Summary of various installation methods of Lab View
Leetcode-18- sum of four numbers (medium)
Traditional machine learning classification model predicts the rise and fall of stock prices
304. Merge two ordered arrays
Create a simple game interface using pyGame
Set and array conversion, list, array
Calculate sentence confusion ppl using Bert and gpt-2
Downloading wiki corpus and aligning with multilingual wikis
Ecological convergence NFT attacks, metaverse ape leads the new paradigm revolution of Web 3.0 meta universe
Pysmb usage
Alexnet implements image classification of caltech101 dataset (pytorch Implementation)
September 3, 2021 visual notes
How does Apple add QQ email?