Show Bid Request
Bit Rotation Function
Bid Request Id: 58201
|
|
|
Posted by: |
spurri (8 ratings)
(Software buyer rating 9.88)
|
Non-action Ratio: |
Above Average - 27.78%
|
Buyer Security Verifications: |
Good
|
Approved on: |
Apr 16, 2003 7:27:33 PM EDT
|
Bidding Closes: |
Apr 17, 2003 11:59:54 PM EDT
|
Viewed (by coders): |
217 times
|
Deadline: |
4/18/2003
TIME EXPIRED
|
|
|
|
Description:
I need a function written in ANSI C that will rotate a specified number of bits from the right side of a binary number to the left side.
ie: for the binary number 0110010100111, with a specified n, as lets say 4, will return 011101101010.
The four right hand side bits have been rotated to the left side resulting in a differnt number. The function needs to have an ASCII number input (equivalent to the first binary number), and needs to return the ASCII equivalent of the rotated binary form. Hope all this makes sense. I only need the function code, so that I could put it in a larger project.
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Complete ownership and distribution copyrights to all work purchased.
Platform:
Normal ASNI C.
Must be 100% finished and received by buyer on:
Apr 18, 2003 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
|
$4 (USD)
|
Apr 17, 2003 4:51:14 AM EDT
|
10
(Excellent)
|
|
|
Hi,
Please accept me, i need the experience! Here's the code i wrote:
Heres the output:
Simple RotateShift demo: Original bits: (97) 01100001 Rotated bits (4): (22) 00010110 Rotate bits (4 again).. (97) 01100001
And heres the code (with comments):
(in the attachment)
|
|
Attached File
|
|
|
|
|