A comparison of C++ and Java
$30-400 USD
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
ID do Projeto: #2916046