Find Jobs
Hire Freelancers

Developing Code

$10-30 USD

Imekamilika
Imechapishwa over 1 year ago

$10-30 USD

Kulipwa wakati wa kufikishwa
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 MODIFY methods in [login to view URL] and [login to view URL] to induce polymorphic behavior Vehicle -year: int //year of manufacture -speed: int // miles per hour -type: string // “Vehicle” or “Plane” or “Car” -model: string // model (for Car it could be Honda etc, for Plane it can be Boeing etc) +Vehicle(); +Vehicle(int year, int speed, string type, string model); +setSpeed(int speed): void +setYear(int year): void +setModel(string model): void +setType(string type): void +getSpeed(): int +getYear(): int +getType(): string +getModel(): string +addSpeed(int s): void // just keep this method empty for now +serveDrinks():string // returns “Drinks served only on Planes” string toString(): string // *** implement this Polymorphically UML of Plane Class Plane (Inherits from Vehicle) + Plane(); +Plane(int year, int speed, string type, string model, int altitude); +getAltitude(): int // returns current height of plane +setAltitude(int height): void // sets the altitude in feet provided it is a positive number <300000 +addSpeed(int s): void // ** implement this polymorphically // the value s should be greater than 0 and speed of the plane should never exceed 1000 miles per hour. If s is not an acceptable value, throw exception and exit. +serveDrinks():string // returns “Water and Apple Juice Available +toString():string // ***implement this Polymorphically to display the plane object details Car (inherits from Vehicle) -wheelSize : int // size of car wheels (this field is not there in Vehicle or Plane) + Car(); +Plane(int year, int speed, string type, string model, int wheelSize); +addSpeed(int s): void //** implement this polymorphically // the value s should be greater than 0 and speed of the plane should never exceed 100 miles per hour. If s is not an acceptable value, throw exception and exit. +serveDrinks():string // ** implement this polymorphically. It should say “Food and Drinks are not permitting in a Car” +getWheelSize(): int // returns the wheelSize of the car. +toString(): String // return the string of the Car object. Look at output for format Specifications: 1) Upgrade the Plane Class that inherits from the Vehicle class and that is based on the UML given above 2) Implement the addSpeed, toString, and serveDrinks method to exhibit polymorphic behavior 3) Experiment with different speeds, negative and too large values for car and plane 4) Test your program with the driver given to you to see that it matches the output given 5) Examine the program to see that a) The declarations of car and plane have changed to type b) Shared_ptr<Vehicle> car = make_shared<Car>(); instead of Shared_ptr<Car> car = make_shared<Car>(); b) The getAltitude (for plane) and getWheelSize (for car) methods can therefore no longer be called because they are not defined in the Vehicle base class c) The toString, addSpeed and serveDrinks methods behave polymorphically d) Note that even when defined polymorphically, if one derived class does not implement that instance method, then the base class behavior will be exhibit.
Kitambulisho cha mradi: 35151304

Kuhusu mradi

17 mapendekezo
Mradi wa mbali
Inatumika 1 yr ago

Unatafuta kupata pesa?

Faida za kutoa zabuni kwenye Freelancer

Weka bajeti yako na muda uliopangwa
Pata malipo kwa kazi yako
Eleza pendekezo lako
Ni bure kujiandikisha na kutoa zabuni kwa kazi
Imetolewa kwa:
Picha ya Mtumiaji
Hello I hope you are doing well. I am a C++ programmer having little bit experience in this field. I understand all the details and want to work with you. Thank you
$32 USD ndani ya siku 3
5.0 (1 hakiki)
1.1
1.1
17 wafanyakazi huru wana zabuni kwa wastani $27 USD kwa kazi hii
Picha ya Mtumiaji
Hello Sir/Madam I have development experience in various Programming Languages, OOP, Data Structures, Database Driven applications, APIs, Files handling and Data Transformation, ETL and various frameworks. I assure you an excellent solution of your project within the time frame and exactly according to the requirements. Thanks @CodingHelpLine
$20 USD ndani ya siku 3
5.0 (97 hakiki)
5.9
5.9
Picha ya Mtumiaji
Greetings I saw your project and as an expert in C/C++ language I am sure I can do your task. I have previously worked on various C++ projects which includes making games, management systems projects and C++ is my primary language which makes me perfect person for your task. Feel free to contact me so we can discuss in detail about your project. Best Regards, Shabih Ul Hassan
$50 USD ndani ya siku 1
4.9 (79 hakiki)
5.7
5.7
Picha ya Mtumiaji
Hi, I have great experience in both C and C++ programming, algorithm design and implementation. I have lots of experience in writing object oriented code in C++, using polymorphism, inheritance, STL and many advanced features! I have checked the class description and I believe I can definitely help you implement this. Please feel free to contact me via chat so that we can discuss further and start working on this amazing project right away !!! Best Regards, Aravind A
$30 USD ndani ya siku 1
4.9 (31 hakiki)
4.9
4.9
Picha ya Mtumiaji
Hi, How are u? I have full experience with C++, UML I've a great skill in this fields. So I can complete your project with high quality on time. Looking forward to hear more about the project from you via chatting. Thanks & Best regards!
$20 USD ndani ya siku 1
5.0 (6 hakiki)
3.9
3.9
Picha ya Mtumiaji
Hello, there? This is Eduardo from Australia. I have read the proposal carefully. I can do the work perfectly. I hope you give me a chance. Regards.
$50 USD ndani ya siku 1
5.0 (3 hakiki)
3.9
3.9
Picha ya Mtumiaji
Hello, I have rich experience in UML design as skillful software engineer. I have read all your explanations carefully and fully understand your requirements. So I am sure I can give you correct and good results. I would appreciate it if you could contact me soon and share your project details. Thank you.
$20 USD ndani ya siku 1
5.0 (4 hakiki)
2.7
2.7
Picha ya Mtumiaji
⚛️ Expert for UML, C/C++, C , OOP, Algorithm, able to start right now ⚛️ Hello, I am senior developer with enough experiences on UML, C/C++, Python , OOP, Algorithm For 7+ years. so I have confident to complete your project. I can work by full time for your project and trying to satisfy the requirements. I am designing the project from scratch and structure it well. "Client's idea + Programmer's robotic coding is the perfect result" This is my idea. If you want to the perfect result, please contact with me. https://www.freelancer.com/u/vd58xd24
$20 USD ndani ya siku 1
5.0 (2 hakiki)
2.3
2.3
Picha ya Mtumiaji
i am very good at c++ programming in linux(ubuntu), good at OOPS&data structure&algorithmic logical programming too, kindly award me this project to me
$10 USD ndani ya siku 1
0.0 (0 hakiki)
0.0
0.0
Picha ya Mtumiaji
Hello. I am a skillful C++ developer. I have read your requirement with great interests, so that I feel I can build your project. Hope your kind message.
$50 USD ndani ya siku 1
0.0 (0 hakiki)
0.0
0.0
Picha ya Mtumiaji
Hi, c++ expert here! please knock right now. I will complete your project in an hour. Thanks for your posting.
$20 USD ndani ya siku 7
0.0 (0 hakiki)
0.0
0.0
Picha ya Mtumiaji
Hi, after reading over your post, I have come to know you wanna modify some method in C/C++ and I think it is perfect for my skill sets. I am a C/C++ expert who have 12+ years of experience. I designed tons of classes, so I can easily understand existing code and modify methods. I can do it within a day. Please send me message and discuss further detail. Thanks.
$20 USD ndani ya siku 7
0.0 (0 hakiki)
0.0
0.0
Picha ya Mtumiaji
I am a software developer with 16 years of experience in c/cpp/c# and this is a easy job for me. Hopefully I will be able to serve this task
$15 USD ndani ya siku 2
0.0 (0 hakiki)
0.0
0.0
Picha ya Mtumiaji
⭐⭐I can start now and I am confident that I can do it ⭐⭐ I did many designs and I can show u some of it. I have 10 years of experience in this field and I have these skills (UML Design, Computer Scienceand C++ Programming) some of my designs I will show u in chat. so just check my reviews and please have a look on my profile. let us discuss in chat
$20 USD ndani ya siku 4
0.0 (0 hakiki)
0.0
0.0
Picha ya Mtumiaji
Hello. I read the mentioned details of the project that you are looking for an Metatrader expert. And I am very confident about the project. I am C/C++/C# programming & UML Design master. To me client is like sky,it is my pleasure to realize your ideas. Confidence, stability, support and honesty make me unique from others. I promise to provide you with the best service at a reasonable price. I hope to discuss the project with you in detail. Thanks for your attention.
$33 USD ndani ya siku 2
0.0 (0 hakiki)
0.0
0.0
Picha ya Mtumiaji
Hello. I have read your description carefully and am very interested. As a C++ Expert, I have rich experience in C++ for over 10 years. They sound like great projects and exactly the kind of thing I work on. “Expect the best, plan for the worst, and prepare to be surprised.” If you are looking for a senior programmer, please contact me anytime. Looking forward to hearing from you. Best regards.
$30 USD ndani ya siku 1
0.0 (0 hakiki)
0.0
0.0

Kuhusu mteja

Bedera ya UNITED STATES
Davis, United States
5.0
1
Njia ya malipo imethibitishwa
Mwanachama tangu Des 15, 2021

Uthibitishaji wa Mteja

Asante! Tumekutumia kiungo cha kudai mkopo wako bila malipo kwa barua pepe.
Hitilafu fulani imetokea wakati wa kutuma barua pepe yako. Tafadhali jaribu tena.
Watumiaji Waliosajiliwa Jumla ya Kazi Zilizochapishwa
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Onyesho la kukagua linapakia
Ruhusa imetolewa kwa Uwekaji wa Kijiografia.
Muda wako wa kuingia umeisha na umetoka nje. Tafadhali ingia tena.