Find Jobs
Hire Freelancers

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

$30-250 USD

In Bearbeitung
Veröffentlicht vor fast 9 Jahren

$30-250 USD

Bezahlt bei Lieferung
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.
Projekt-ID: 7692678

Über das Projekt

5 Vorschläge
Remote Projekt
Aktiv vor 9 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
5 Freelancer bieten im Durchschnitt $139 USD für diesen Auftrag
Avatar des Nutzers
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 Tagen
5,0 (16 Bewertungen)
5,1
5,1
Avatar des Nutzers
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 Tag
5,0 (7 Bewertungen)
3,4
3,4
Avatar des Nutzers
A proposal has not yet been provided
$277 USD in 3 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von UNITED STATES
San Ramon, United States
5,0
2
Zahlungsmethode verifiziert
Mitglied seit Mai 18, 2015

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.