Need help with c++ coding project

Përfunduar Postuar 1 vit mё parё Paguhet në dorëzim
Përfunduar Paguhet në dorëzim

You will be given class headers and a driver shell with declarations to help you get started. You will be given a Base class called Vehicle and you will implement two derived classes called Car (that inherits from Vehicle) and Plane (that inherits from Vehicle). Vehicle holds common attributes and behaviors. One attribute specific to Plane is altitude(height at which it is flying). One attribute specific to Car is wheel size. This program shows that a car object demonstrates all the common attributes and in addition, can have wheelSize and display it: a plane object is a vehicle and so similar to a car object except that it can fly at a certain altitude.

Observe how overriding of behaviors works in C++. If the base class and the derived class have the same method, then the method that is called at run time needs to be the method of the derived class. However, in order to make this happen (without Polymorphism), when the derived object is declared, it has be declared of derived type and created of derived type. If it is declared of base type and created of derived type, then overriding will not occur. So in the following

a) Shared_ptr<Base_Type> object = make_shared<Derived_Type>() // no overriding

b) Shared_ptr<Declared_Type> object = make_shared<Derived_Type>() // overriding

If a method transport is available in the base class and also in the derived class, then object->transport will call the transport of base class in the above situation a) and the transport of derived class will be called in the situation b).

For object->transport to call the transport method in situation b, Polymorphism will need to be used. We will see this in the next project

Polymorphism is not yet available in this project and we will see that even though all classes define the toString() class, it is the Vehicle’s method that is called when the declarations are of type a)

Example shared_ptr<Vehicle> car = make_shared<Car>()

Examine the UML diagrams below for specifications and details of these classes

Specifications:

You do NOT need to write a driver. Use the one provided in the template. Name it [login to view URL]

You are given VehicleHeader.h, [login to view URL] // The entire class is given to you

You are given PlaneHeader.h and CarHeader.h // Headers of derived classes given

You need to implement methods in [login to view URL] and [login to view URL]

Programim në gjuhën C++ Projektim në gjuhën UML

ID Projekti: #35029822

Rreth projektit

11 propozimet Projekti në distancë Aktiv 1 vit mё parё

Është zgjedhur fitues:

rajamoheed

Hello I hope you are fine I have expertise in C++ and UML I read all the requirements and I am able to do this project

$20 USD për 3 ditë
(0 Përshtypje)
0.0

11 profesionistë freelancer dërguan një ofertë mesatare prej $21 për këtë punë

mirzaahamza

Hry I am expert in C++ and I can help you with your project message me to discuss so that we can start working on it

$20 USD për 1 ditë
(62 Përshtypje)
5.2
il8677

Hello, this is a simple program that I can deliver to you within a few hours, contact me and we can get started.

$25 USD për 1 ditë
(13 Përshtypje)
4.0
Valuesolutions

Hello, I hope this finds you well. I have just seen your project requiring; UML Design C++ Programming I believe that my 10-year experience in this field is what you need right away. Avoid the headache of looking furt Më shumë

$20 USD për 7 ditë
(8 Përshtypje)
5.0
alexgurudewloper

Hello. Thanks for your job posting. I just checked your project carefully. It is an ideal match for my skills and experience. I have rich experience in C/C++. I can start working immediately. Let's start the chat so th Më shumë

$20 USD për 7 ditë
(1 përshtypje)
3.4
hudex

Hello dear, We are group of professional C++ tutors expert and can solve any questions within given time because we are in top 2% here so just text me so we can help you out with your task Kind regards

$10 USD për 1 ditë
(3 Përshtypje)
2.9
vd58xd24

⚛️ Expert for Java, C/C++, C , OOP, Algorithm, able to start right now ⚛️ Hello, I am senior developer with enough experiences on Java, C/C++, Python , OOP, Algorithm For 7+ years. so I have confident to complete your Më shumë

$20 USD për 1 ditë
(1 përshtypje)
1.6
Rubi64420

Hi, Good lucky. I read your job posting carefully and I'm very interested in your project. I have 4 years experience in Python programming C++ Programming, C language. I am very familiar with Machine learning, image pr Më shumë

$30 USD për 4 ditë
(1 përshtypje)
0.0
Sanskar362002

I can do this easily as I did this type of project for my clients earlier I have a great skills in C++ you just need to text me Up and i am ready to start work on it and I will try to diliver this ASAP waiting for your Më shumë

$30 USD për 2 ditë
(1 përshtypje)
0.0
nicolaingala239

Hello.I'm C/C++/C# Programming master. I read the mentioned details of the project that you are looking for an C++ expert. And I am very confident about the project. To me client is like sky,it is my pleasure to realiz Më shumë

$15 USD për 2 ditë
(0 Përshtypje)
0.0