A comparison of C++ and Java

Encerrado Postado Apr 8, 2007 Pago na entrega
Encerrado Pago na entrega

I am working on an undergraduate academic project which …

Performs an comparison between the Object-Oriented languages: C++ and Java.

The objective of the project is to research the languages in various broad categories. This requires a comprehensive study into various fundamental programming language concepts looking at history, syntax, semantics, learnability, uses at a teaching level and pragmatics.

I have already researched the languages but am struggling to code C++ and java programs.

Hence, I have written parts of my report but need actual code, to show significant similarities and differences.

To successfully complete the investigation, the programming languages will be examined by their memory management, networking facilities and concurrency features.

I need to code substantial C++ and Java programs, to emphasize the similarities and differences of the two programming languages. This will be a total of 6 small / medium size programs.

I need code that compares the languages in these categories:

**Memory management**??" the use of pointers in C++ and, memory allocation, deallocation, etc compared to how the equivalent is done in Java.

**Concurrency**??" a multithreaded server in java and c++. Java uses the thread class and its various facilities, whilst creating the same in c++ using its equivalent resources.

**Networking**??" a client server application that performs tcp communication using sockets. The c++ program must use e.g.

#include <netinet/in.h>

#include <unistd.h>

#include <iostream>

And the java program can use the *inet library package.

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

Deliverables:

(1) 1 java program and 1 c++ program showing memory management.

(2) 1 java program and 1 c++ program showing concurrency, the idea of multithreading

(3) 1 java program and 1 c++ program showing client-server communication.

e.g. the c/s communcation program in java must have its equivalent in C++.

To be honest, I don’t have much experience in java or c++ and need the programs to be basic and not overly complex . I am an undergraduate student doing computer science. The ideas for the code can come from the coders perception of the task description.

The programs must be between 300 and 600 lines of code each. They must be appropriately documented using comments to explain the major points in the code. Their must some sort of relevant output that shows that the programs actually ‘do something’ and can be compared with its c++ or java equivalent.

## Platform

Platform:

Windows XP Professional SP2

Microsoft Visual C++ studio 2005

Jcreator

Programação C Engenharia Java MySQL PHP Arquitetura de software Teste de Software Redação técnica

ID do Projeto: #2916046

Sobre o projeto

19 propostas Projeto remoto Ativo em Apr 21, 2007

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

ignexus

See private message.

$255 USD in 7 dias
(106 Comentários)
6.4
algorithmus

See private message.

$255 USD in 7 dias
(63 Comentários)
6.3
CodeSolution

See private message.

$280.5 USD in 7 dias
(10 Comentários)
5.5
rainbow

See private message.

$340 USD in 7 dias
(31 Comentários)
5.5
somireddy

See private message.

$170 USD in 7 dias
(75 Comentários)
5.4
neatcodersl

See private message.

$297.5 USD in 7 dias
(35 Comentários)
5.0
realpriti

See private message.

$255 USD in 7 dias
(31 Comentários)
4.5
shraddhamit

See private message.

$340 USD in 7 dias
(8 Comentários)
4.2
comcat

See private message.

$127.5 USD in 7 dias
(9 Comentários)
3.9
classenigma

See private message.

$340 USD in 7 dias
(14 Comentários)
3.8
MartinsNet

See private message.

$340 USD in 7 dias
(10 Comentários)
3.0
vw6457373vw

See private message.

$170 USD in 7 dias
(6 Comentários)
2.6
roniashraf

See private message.

$297.5 USD in 7 dias
(5 Comentários)
3.2
gargalatas

See private message.

$272 USD in 7 dias
(1 Comentário)
2.2
DomenVrankar

See private message.

$187 USD in 7 dias
(1 Comentário)
0.7
vinothg

See private message.

$85 USD in 7 dias
(2 Comentários)
0.6
securejavacoder

See private message.

$85 USD in 7 dias
(0 Comentários)
0.0
nickel75

See private message.

$323 USD in 7 dias
(0 Comentários)
0.0
ingenuitywingz

See private message.

$297.5 USD in 7 dias
(1 Comentário)
0.0