Convert C++ program to Java

Concluído Postado Mar 13, 2004 Pago na entrega
Concluído Pago na entrega

Basically, I need to convert a C++ program to Java.

I have the C++ code written and working. I need it translated.

The C++ program is a multiple class program that uses inheritance and friend.

Here are the specifications as given.

Translate the following C++ program to a Java application.

* **Background:**

AGM warehouse needs to track its inventory, specifically, they want to track the following

PartName: up to 15 characters;

PartNumber: 10 alphanumeric digits;

Cost: A real number;

Quantity: An integer;

So a class *PartRecord* where the above information of a particular part can be [url removed, login to view] class has a static member *counter* to track how many parts have been added ever.

The warehouse has between 700 and 1000 parts out there. A class *PartCatalog* is defined where all the part records can be stored. Public member functions are defined in *PartCatalog* so those software engineers can easily use the *PartCatalog* to add new parts and to get the product of cost and quantity of a particular part.

Later, the warehouse extended the class *PartCatalog* to *ExtPartCatalog* so that the parts in the catalog can be sorted and printed.

* **Requirements and suggestions:**

1. Your code should also define three classes *PartRecord*, *PartCatalog*, and *ExtPartCatalog*, which provide the same functionalities as those in the C++ code, respectively.

2. Your program should have the same output as the C++ program.

3. You may represent PartNameand PartNumber as *Strings*, though *Strings* in Java have no limit on the number of characters.

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

Windows XP

Programação C Engenharia Java MySQL PHP Arquitetura de software Teste de Software

ID do Projeto: #3133061

Sobre o projeto

16 propostas Projeto remoto Ativo em Mar 14, 2004

Concedido a:

eternityinc

See private message.

$7 USD em 1 dia
(12 Comentários)
3.6

16 freelancers estão ofertando em média $16 nesse trabalho

abstractvision

See private message.

$25.5 USD em 1 dia
(141 Comentários)
6.1
finecodervw

See private message.

$29.75 USD em 1 dia
(146 Comentários)
6.1
emilianbold

See private message.

$6.8 USD em 1 dia
(80 Comentários)
5.9
mihaiscortaru

See private message.

$20 USD em 1 dia
(100 Comentários)
5.8
utopiaprogr

See private message.

$25.5 USD em 1 dia
(62 Comentários)
5.4
andrewjdvw

See private message.

$3.4 USD em 1 dia
(47 Comentários)
5.3
petrutandy

See private message.

$21.25 USD em 1 dia
(54 Comentários)
5.2
lostbard

See private message.

$12.75 USD em 1 dia
(221 Comentários)
5.2
lmxvw

See private message.

$19.55 USD em 1 dia
(126 Comentários)
4.7
vw821235vw

See private message.

$21.25 USD em 1 dia
(94 Comentários)
4.3
MyRiddler

See private message.

$17 USD em 1 dia
(31 Comentários)
3.7
rsudomo

See private message.

$21.25 USD em 1 dia
(14 Comentários)
3.0
wahabsl

See private message.

$6.8 USD em 1 dia
(9 Comentários)
2.2
okhand

See private message.

$17 USD em 1 dia
(2 Comentários)
1.3
nitescucip

See private message.

$8.5 USD em 1 dia
(1 Comentário)
0.5