Find Jobs
Hire Freelancers

Basic small introduction to OOP program in C++ NEED COMPLETE--24 HOURS!

$30-250 USD

In Progress
Posted almost 9 years ago

$30-250 USD

Paid on delivery
Create a set of classes which implement the following: Create a base class which stores properties and has methods to act on a circle: private properties should include radius and any other information you feel is required. methods should include constructors (these should allow you to instantiate a circle with either a given radius or no parameters--if no parameters, decide if the circle should not exist or should be of a default radius). you'll need a method to get the radius (and/or set the radius if it's not set by your constructor or if you'll allow people to change it). You should allow people to cut the circle into an even number of slices. You need to set a minimum angle for slices (or outer edge length--if you don't want to do fancy math)--this will determine if someone trying to cut it into too many pieces--this should result in an error of some sort. you'll need to store available or used slices. you'll need methods to slice the circle (this should produce an error or some indication to the user it didn't work if the slices would be smaller than your minimum or if it's already been sliced) You'll need methods to get/consume slices of your circle. Once your circle is working, make 2 more classes (either both using your circle as a base or one you may have multiple generations depending on your design): One should handle pie and the other should handle pizza. Pie has fillings. Pizza has toppings. people should be able to create pie and pizza and eat the slices. Pizza toppings can cover the whole pizza or each half of a pizza can have different toppings. Pies have all the same filling,which may include multiple ingredients (for example,... apple vs. Banana + Walnut) you should have methods to determine how many slices are left, whether it's been cut already, and if the pizza or pie are finished baking and ready to be served. (perhaps you need a bake method to bake the item once you've filled or topped it). include some code which instantiates all 3 classes and uses all the methods (and public properties). make sure you properly choose which methods are public vs private vs protected. happy eating.
Project ID: 7692678

About the project

5 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $139 USD for this job
User Avatar
I have designed the concrete plant control system, Power Line Communication system and many project. I have experience in developing the windows application using Java, VB.Net and MFC. I also have experience in developing the MCU embedded system with C, C++ language. And i designed the PHP e comencial page. I can help you on this project. Thanks.
$45 USD in 3 days
5.0 (16 reviews)
5.1
5.1
User Avatar
Hello, I'm a senior C#/C++ developer with 5 years experience in this domain. I'm sure I can deliver this project in 24 hours as you specified. Thank you
$111 USD in 1 day
5.0 (7 reviews)
3.4
3.4
User Avatar
A proposal has not yet been provided
$277 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
San Ramon, United States
5.0
2
Payment method verified
Member since May 18, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.