Peruttu

compress and decompress

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 [url removed, login to view] le should be

provided that will have the instruction to compile and run the programs.

Command-Line options

Compression:

C++: ./compress -f [url removed, login to view] [-o [url removed, login to view] -s]

Java: sh [url removed, login to view] -f [url removed, login to view] [-o [url removed, login to view] -s]

Decompression:

C++: ./decompress -f [url removed, login to view] [-o [url removed, login to view] -s]

Java: sh [url removed, login to view] -f [url removed, login to view] [-o [url removed, login to view] -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.

I need this in 10hrs. if any freelancer can complete this , pease change bid.
Thanks

Taidot: C++ -ohjelmointi, Java

Näytä lisää: what is a library in programming, sanity testing, programming instruction, bug statistics, will save codetable header compressed, compile instruction, decompress, compression library, command line java linux, append line file, decompression, compress file, file library java, magic square file, wall following java, java linux command, programming statistics, compression decompression, create magic, file compression decompression

Tietoa työnantajasta:
( 97 arvostelua ) Sunnyvale, United States

Projektin tunnus: #4334146

10 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

hbxfnzwpf

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 3 päivässä
(16 arvostelua)
4.5
duchuyctlk

Let me help you. Please check pmb

$50 USD 3 päivässä
(30 arvostelua)
4.3
wbslivera

Hello, I'm Oracle certified professional java programmer, I can help you, no ms need till you satisfy, thanks

$50 USD 4 päivässä
(4 arvostelua)
2.6
aapS0ftware

Hi, I have some experience with compression algorithms so I think I can help.

$60 USD 5 päivässä
(3 arvostelua)
2.5
wjx823

I am interested in this job.

$50 USD 2 päivässä
(1 arvostelu)
2.4
lucianmli

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 2 päivässä
(2 arvostelua)
1.8
erpramodprajapat

I can do it in 5 days, I have more than 4 year of experience in C++ with data structure

$35 USD 5 päivässä
(0 arvostelua)
0.0
ddprasadiitkgp

Hi, Please have a look at the private message.

$50 USD 2 päivässä
(0 arvostelua)
0.0
jindalkamal

ready to work from today

$50 USD 4 päivässä
(0 arvostelua)
0.0
altexy

Hi I have long successful history on this site, take a look to my profile. Please check PMB for details. Regards Alexander

$60 USD 2 päivässä
(0 arvostelua)
0.0