audibleCode

a code repository for codes that you don’t have enough words to describe

Posts Tagged ‘C++

A complete C++ download manager source code

without comments

This is the source code for a C++ download manager that you can edit. I searched for it for a long-time because i needed to write my own but couldn’t write because of time limitations.

The code if displayed below 

#include <windows.h>

#include <stdio.h>

#include <wininet.h>

#define FILE_BUFFER_SIZE 4096

#define RETRY_READ         10

char   sInputUrl [INTERNET_MAX_URL_LENGTH] = “”;

char   sOutputPath [MAX_PATH] = “”;

HANDLE hStdOut;

DWORD  dReadFileCount, dWriteFileCount, dWriteFileTotal; Read the rest of this entry »

Written by audiblecode

May 22, 2008 at 2:44 pm