Find Jobs
Hire Freelancers

C++ function to zip a file

$5-10 USD

In Progress
Posted over 16 years ago

$5-10 USD

Paid on delivery
I need a function that I can include in a C++ program running Linux that I can #INCLUDE as a header file that will take a filename as a string variable, compress (zip it), and return the new filename with extension ".zip", original file size in bytes and zipped file size in bytes. Please see example program: // This function creates md5 plus current seconds and millseconds // filename and renames file "example" with extension "work" // variable test is the name of the new file // example file name after renaming is // [login to view URL] string md5name; md5name = renamefile("example", "work"); // Function to zip file using filename variable "md5name" and return // int orginal file size in bytes, int zipped file size in bytes and string variable // with zipped file name, example: // [login to view URL] I have included the example above to show you where the orginal name variable is coming from. You can either implement someone else's compression algorithm or create your own. The files that this function will be zipping will contain primarily numbers. Remember that I must have a header file to include in a Linux C++ program that will enable me to call your function. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Linux C++
Project ID: 3627970

About the project

5 proposals
Remote project
Active 16 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
5 freelancers are bidding on average $8 USD for this job
User Avatar
See private message.
$8.50 USD in 5 days
4.6 (102 reviews)
6.0
6.0
User Avatar
See private message.
$8.50 USD in 5 days
5.0 (63 reviews)
5.1
5.1
User Avatar
See private message.
$8.50 USD in 5 days
4.9 (22 reviews)
3.7
3.7
User Avatar
See private message.
$6.80 USD in 5 days
5.0 (12 reviews)
2.9
2.9
User Avatar
See private message.
$8.50 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Oak Ridge, United States
5.0
34
Payment method verified
Member since Mar 7, 2004

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.