URLDownloadToFile 예제
Development/C/C++
2013. 12. 31. 22:06
#include <stdio.h>
#include <conio.h>
#include <UrlMon.h>
#pragma comment(lib,"UrlMon.lib")
int main(){
int num;
printf("[BlackRose] V3 설치파일 다운로드 : 1 종료 : 2\n\n명령입력 :");
scanf("%d",&num);
switch(num){
case 1:
URLDownloadToFile (NULL, "http://v3lite.v3webhard.com/download/V3LiteSG_Setup.exe", "C:\\V3LiteSG_Setup.exe", 0, NULL);
getch();
case 2:
exit(0);
default :
printf("명령을 잘못입력하셨습니다.\n");
}
getch();
return 0;
}
URLDownloadToFile (NULL, "http://v3lite.v3webhard.com/download/V3LiteSG_Setup.exe", "C:\\V3LiteSG_Setup.exe", 0, NULL);
요게 젤중요..
v3lite다운할게에여.c드라이브폴더에..
'Development > C/C++' 카테고리의 다른 글
c++) hello hell!! , namespace 그리고 시작하기 앞서 (0) | 2014.07.12 |
---|---|
c언어) 특수 문자와 변수 설명 (0) | 2014.04.17 |
c언어에서 소리출력하기!!! (0) | 2013.12.31 |
정보올림피아드 본선 - 문제코드 : 2262 (0) | 2013.12.31 |
콘솔에서 이미지출력 예제 (0) | 2013.12.31 |