Find Jobs
Hire Freelancers

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

$30-250 USD

Folyamatban
Kiadva ekkor: körülbelül 9 évvel ezelőtt

$30-250 USD

Teljesítéskor fizetve
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.
Projektazonosító: 7692678

A projektről

5 ajánlat
Távolról teljesíthető projekt
Aktiválva: 9 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
5 szabadúszó adott átlagosan $139 USD összegű árajánlatot erre a munkára
Felhasználó avatár
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 3 napon belül
5,0 (16 értékelés)
5,1
5,1
Felhasználó avatár
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 1 napon belül
5,0 (7 értékelés)
3,4
3,4
Felhasználó avatár
A proposal has not yet been provided
$277 USD 3 napon belül
0,0 (0 értékelés)
0,0
0,0

Az ügyfélről

UNITED STATES zászlója
San Ramon, United States
5,0
2
Fizetési mód hitelesítve
Tagság kezdete: máj. 18, 2015

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.