www.pudn.com > zlibsource.zip > gzipdemo.cpp


// gzipdemo.cpp : Defines the entry point for the console application. 
// 
 
#include "stdafx.h" 
#include "gzip.h" 
#include  
 
int main(int argc, char* argv[]) 
{ 
	using namespace zlib; 
 
	CGZip gzip; 
 
	// creating buffer... 
	const size_t tsLen=1024000; 
	char szTestString[tsLen+1]; 
	for (size_t i=0;i