c++ data structure

Cancelled Posted Feb 1, 2006 Paid on delivery
Cancelled Paid on delivery

I need a c++ data/class structure that:

* Stores 32 bit values.

* Every time a valueis stored, a 32 bit counter is increased by a value - one by defualt, but could be more than one. Never negative. (Each 32 bit value has a counter of its own.)

Example:

Insert(10)

Insert(10)

Insert(12)

Result - prints like (sorted on value):

10 2

12 1

It is more important that insertion is fast than retreival. There will be a huge number of insertions, but relatively few retrivals.

It shall be possible to get value pairs sorted on value or count.

There must be a guard against allocating too much memory that is configurable - constant and re-compile is ok.

There shall be an API that "returns" following (actual return "things" depends on data structures used):

* "List" sorted on value - low to high.

* "List" sorted on count - low to high.

* "List" sorted on count - high to low.

* "List" sorted on value, for range of values only only - low to high. (for instance values 1000-10000).

When inserting, there shall be a "count" that is normally "1", but can be larger so that the count increases with the provided value, instead of one. Also, when inserting count shall stop at 0xFFFFFFFF and never wrap.

Make a small console application that demonstrates the functionality - read values from file, and print to stdio.

## 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

No MFC. STL ok. Visual C++ 2003, or Borland C++ Builder 6

C Programming Engineering MySQL PHP Software Architecture Software Testing

Project ID: #3255308

About the project

31 proposals Remote project Active Feb 2, 2006

31 freelancers are bidding on average $34 for this job

evsoft32

See private message.

$17 USD in 10 days
(145 Reviews)
6.7
softensive

See private message.

$80.75 USD in 10 days
(58 Reviews)
6.8
dragomirvw

See private message.

$38.25 USD in 10 days
(150 Reviews)
5.6
maeenul

See private message.

$25.5 USD in 10 days
(159 Reviews)
5.8
aldea

See private message.

$21.25 USD in 10 days
(59 Reviews)
5.3
communicationvw

See private message.

$51 USD in 10 days
(55 Reviews)
5.2
gamesengineer

See private message.

$51 USD in 10 days
(25 Reviews)
4.5
asalah

See private message.

$42.5 USD in 10 days
(33 Reviews)
4.5
parchon

See private message.

$25.5 USD in 10 days
(40 Reviews)
4.4
vw1673017vw

See private message.

$85 USD in 10 days
(23 Reviews)
4.1
paxdiablo

See private message.

$20.4 USD in 10 days
(72 Reviews)
4.4
kchadrasekh

See private message.

$8.5 USD in 10 days
(19 Reviews)
3.9
nitinmidha

See private message.

$59.5 USD in 10 days
(6 Reviews)
2.7
larchsoft

See private message.

$85 USD in 10 days
(5 Reviews)
2.9
synapsesecurity

See private message.

$42.5 USD in 10 days
(4 Reviews)
2.6
omeraevw

See private message.

$63.75 USD in 10 days
(2 Reviews)
2.6
rodrigotrida

See private message.

$25.5 USD in 10 days
(4 Reviews)
3.0
citoyen89vw

See private message.

$4.25 USD in 10 days
(6 Reviews)
2.2
amoej1

See private message.

$59.5 USD in 10 days
(5 Reviews)
2.3
ig3dmediainc

See private message.

$25.5 USD in 10 days
(5 Reviews)
2.7