C++代写:More OOP in C++/Inheritance代写C/C++课程设计

Introduction基本思路:运用c++的面向对象的知识,封装,继承,多态,完成一个动物园管理系统,动物种类包括老虎,熊等等。模拟动物的成长和消耗。对类的设计思想要求比较高,是一道比较好的c++考题RequirementAssignment #3 – More OOP in C++/InheritanceDue: Sunday, 05/08/16, 11:59pmGrading: EVERY assignment in this course is graded by demoing your work for10 minutes with a TA. You are required to meet with a TA within two weeks fromthe due date to demo, and you receive an automatic 50 point deduction forfailure to do so. If you miss a scheduled appointment, you will be penalized 10points for rescheduling within 1 day (24 hours), 25 points within 7 days (1 week),and 50 points for anything outside of a week. Your job is to convince the TA thatyour program works correctly, i.e. show your TA how to use/break your program☺(90 pts) Program Implementation: Problem StatementYou are the proud owner of a virtual zoo that has places to house tigers, polarbears, and penguins! You will write a Zoo Tycoon game using classes andinheritance. Zoo Tycoon is a game where the user creates a zoo that has exhibits with anumber of different animals in each. Your zoo animals can be Tigers, Polar Bears, andPenguins. You start with an initial amount of money in your zoo bank, and from thereyou can begin to op.Specific Animal traits:• Ageo >=3, adult 3• add number of babies born to that specific animal type to the exhibit• else, reprompt the user for an animal.• begin baby at age 0,4) nothing happens.After the random event, calculate your payoffs for the day based on normal visits forpenguins and polar bears, and possibly a bonus from a boom in attendance to see thetigers!Last, ask the player if they want to buy an adult animal, continue to the next day, or endthe game. If they chose to buy an animal, subtract that cost and add the animal to theappropriate exhibit.When you add money for profit or subtract money for sickness, the babies, oranimals with an age value less than 3 “days”, have a value of 2 times their normalpayoff or cost.Requirements• Each exhibit is a dynamic array of each type of animal.• You must have classes for a zoo, animal, tiger, penguin, and polar bear.• You Must Implement Inheritance: Your tiger, penguin, and polar bear mustinherit some traits and behaviors from the animal class, while there may beothers unique to the specific animal, such as a bonus for tigers.• Every time you buy an animal, at the beginning of the game or during play time,subtract that animals cost from the bank.• Subtract the feeding cost (which depends on how many animals you own andwhat kind) every morning.• Have a random event take place during each turn and perform. those banktransactions correctly.• Animals that aren’t “born” in the zoo start at age 3 and this age is incrementedevery day. Animals younger than 3 (animals born in the exhibit) cost or earn thezoo 2 times their regular amount.• Make sure that the zookeeper doesn’t go bankrupt• Reprompt user at the end of each day (at the end of the game play for loop) tokeep playing until they lose or they wish to end the game.• No memory leaksExtra Credit (10 pts):TBD(10 pts) Program Style/CommentsIn your implementation, make sure that you include a program header in your program,in addition to proper indentation/spacing and other comments! Below is an exampleheader to include. Make sure you review the style. guidelines for this class, and begintrying to follow them, i.e. don’t align everything on the left or put everything on one line!/**Program: zoo_driver.cppAuthor: Your NameDate: 05/06/2016Description:Input:Output:**/Electronically submit your C++ program (.h, .cpp, and Makefile files, not yourexecutable!!!) and your test files as a tarred archive by the assignment due date, usingTEACH.You must tar these files together using the following command:tar –cvf assign3.tar file1 file2 file3 …**NOTE: The easiest way to upload your program from ENGR to TEACH is to map anetwork drive to your home directory on ENGR. Mac or Windows, See:本团队核心人员组成主要包括BAT一线工程师,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全 汇编语言 硬件编程 软件设计 工程标准规等。其中代写编程、代写程序、代写留学生程序作业语言或工具包括但不限于以下范围:C/C++/C#代写Java代写IT代写Python代写辅导编程作业Matlab代写Haskell代写Processing代写Linux环境搭建Rust代写Data Structure Assginment 数据结构代写MIPS代写Machine Learning 作业 代写Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导Web开发、网站开发、网站作业ASP.NET网站开发Finance Insurace Statistics统计、回归、迭代Prolog代写Computer Computational method代做因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected] 微信:codehelp

你可能感兴趣的:(C++代写:More OOP in C++/Inheritance代写C/C++课程设计)