Need help with c++ coding project
$10-30 USD
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]
ID Projekti: #35029822
Rreth projektit
Është zgjedhur fitues:
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
11 profesionistë freelancer dërguan një ofertë mesatare prej $21 për këtë punë
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
Hello, this is a simple program that I can deliver to you within a few hours, contact me and we can get started.
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ë
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ë
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
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ë
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ë