Find Jobs
Hire Freelancers

compress and decompress

$30-60 USD

Cancelled
Posted about 11 years ago

$30-60 USD

Paid on delivery
library will have two programs: compress, and decompress; compress accepts a text le and produces a compressed representation of that text le; decompress accepts a le that was compressed with the compress program, and recovers the original le. Implementation Input to the compress is a text le with arbitrary size. Output of the program is a compressed representation of the original le. You will have to save the codetable in the header of the compressed le, so that you can use the codetable for decompressing the compressed le. Input to the decompress is a compressed File, from which the program recovers the original le. For sanity check, you should have a speci c magic word at some position in the header of the compressed file, so that decompress can identify whether the given file is a valid compressed fi le. You should pay attention to the following issues: The file that I will use for testing can be very large, having size in Gigabytes, so make sure that your program is bug-free and it works for large input file. You must make sure that your program runs on a Linux Machine. You must provide a Make le to compile your programs. Also, a [login to view URL] le should be provided that will have the instruction to compile and run the programs. Command-Line options Compression: C++: ./compress -f [login to view URL] [-o [login to view URL] -s] Java: sh [login to view URL] -f [login to view URL] [-o [login to view URL] -s] Decompression: C++: ./decompress -f [login to view URL] [-o [login to view URL] -s] Java: sh [login to view URL] -f [login to view URL] [-o [login to view URL] -s] The command-line options that are within the square bracket are optional. The option \-f" precedes the input le name, which always has a .txt extension. The \-s" option prints statistics, such as for compression it prints, how many distinct characters are there, what is the compression ratio, and the wall clock time that it took for performing the compression task. For decompression, it prints how many character were written, and the wall clock time it took for performing the decompression task. The \-o" option precedes the name of an output le. If the output le name is not given, then we will append .hzip at the end of the input lename to create the output lename.
Project ID: 4334146

About the project

9 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
9 freelancers are bidding on average $49 USD for this job
User Avatar
I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years, please let expert help you.
$45 USD in 3 days
4.8 (171 reviews)
7.1
7.1
User Avatar
Hello, I'm Oracle certified professional java programmer, I can help you, no ms need till you satisfy, thanks
$50 USD in 4 days
4.9 (246 reviews)
6.4
6.4
User Avatar
Let me help you. Please check pmb
$50 USD in 3 days
5.0 (34 reviews)
4.4
4.4
User Avatar
I am interested in this job.
$50 USD in 2 days
3.3 (14 reviews)
4.9
4.9
User Avatar
Hi, I have some experience with compression algorithms so I think I can help.
$60 USD in 5 days
5.0 (3 reviews)
2.4
2.4
User Avatar
I have experience with zlib, openssl, pthread and other libs(I find these might be relevant to your project), I can help you
$50 USD in 2 days
5.0 (2 reviews)
1.8
1.8
User Avatar
I can do it in 5 days, I have more than 4 year of experience in C++ with data structure
$35 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, Please have a look at the private message.
$50 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
ready to work from today
$50 USD in 4 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Sunnyvale, United States
5.0
98
Payment method verified
Member since Jul 24, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.