Find Jobs
Hire Freelancers

C++ Animal Daycare

$10-30 USD

Tamamlandı
İlan edilme: neredeyse 5 yıl önce

$10-30 USD

Teslimde ödenir
The first step to this program is to read in the list of animals that are currently in the system already. You must use command line arguments to provide the file name of the input file you are reading in. Here is an example input file: [login to view URL] Each line contains information about one animal. The Animals As part of this program, you are required to use inheritance and polymorphism. To do so you will implement an Animal base class that contains information that pertains to all animals. In your shelter ALL animals have a name, an age, and a dailyFee that represents the fee for keeping the animal at daycare. The fee for each animal is as follows: Cat: $25 Dog: $50 Rabbit: $15 Your derived classes will be the specific types of animals housed in your daycare: Cat, Dog and Rabbit. Each animal has additional data that only corresponds to that specific animal. A Cat has a property called isOutdoor. This value will be true if the cat is an outdoor cat and false if the cat is an indoor cat. The input line for a cat is: cat,<name>,<age>,<isOutdoor> cat,Elroy,1,false dog,Charlie,2,bone rabbit,Squeekers,3,5 A Dog has a property called favoriteToy. This value is a string that will hold the name of his favorite toy (Ex: A bone, A ball, etc) The input line for a dog is: dog,<name>,<age>,<favoriteToy> A Rabbit has a property called numberOfCarrots. This value is an integer that represents the number of carrots a rabbit is allowed to be fed per day. The input line for a rabbit is: rabbit,<name>,<age>,<numberOfCarrots> Pet Daycare User Interface After reading in the input file, you will prompt the use to select from a list of options: Option ‘0’ – when the user enters 0 (zero) the program will end. Option ‘1’ – when the user enters 1, the user will be given a list of all animals currently at the shelter. Option ‘2’ – When the user enters 2, the user will be prompted for what type of animal they are dropping off (c/d/r) and then provide the information for that animal. You may assume that a user will enter in the correct information in the correct format for each animal type (cat, dog, rabbit). Once the user submits the information you will create a new animal of that type and add it to the linked list that contains all the animals in the shelter. If the user selects option 1 again, they should be provided with an updated list of all animals plus the ones the user has just entered appended to the end of the list. Option ‘3’.- When the user enters 3, the user will be prompted for the cage number of the animal that they are picking up. When the user enters the number that animal will be removed from the linked list. In your Animal class, you will need to define a virtual print method that will be overridden in your derived classes (Cat,Dog,Rabbit). Each one of these classes should provide their own print method that will be called when iterating through the linked list to print out all animals in the shelter. Other specifications: All data members in your class definitions must be private or protected. No public data members are allowed! This means that you must provide getters and setters for your data members so that you may access them outside of your class definition and implementation. In your program you will be storing all animals in your own custom Linked List. You may NOT use the list ADT provided by the C++ STL. For your linked list implementation you will at a minimum need an insert method, a removeAt method, and a print method. If implemented as a class you must also include a separate .h and .cpp file for your LinkedList class.
Proje No: 19321599

Proje hakkında

6 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 5 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
Seçilen:
Kullanıcı Avatarı
Hello. I have just read your proposal in detail. I am very interested in your project. I am a C and C++ expert as you can see through my reviews. I have rich experiences and have taken part in programming contests. So I especially like algorithm and I can write perfect codes for code quality and time. If you give me a chance, I will do my best for you and finish your project in a short time. I am ready to work for your project. Let's meet and discuss more. Thanks.
$50 USD 1 gün içinde
5,0 (54 değerlendirme)
6,1
6,1
6 freelancers are bidding on average $51 USD for this job
Kullanıcı Avatarı
Hi..i am proficient in C/C++ programming with good concepts on object oriented programming and can help you write the animal management system program as console application as per given instructions. I will write and test the code using g++ compiler in Linux machine.
$77 USD 3 gün içinde
4,9 (125 değerlendirme)
6,0
6,0
Kullanıcı Avatarı
Hey there, I will do this C++ work within an hour. Feel free to inbox me now so that we can discuss further. Thank you.
$20 USD 1 gün içinde
4,9 (77 değerlendirme)
5,3
5,3
Kullanıcı Avatarı
Hello, I am experienced in this field, check my profile for sure. If I take a project, it will be done soon according to your requirements.
$25 USD 1 gün içinde
4,7 (37 değerlendirme)
4,9
4,9
Kullanıcı Avatarı
Hi. I worked on similar projects when i was going to college. I am a Senior Software Engineer with 10+ years of rich experience in C/C++ development. I am very confident about this job and I can provide you with perfect help. Looking forward to discussing more in detail via chat. Waiting for your reply. Thanks. Regards.
$111 USD 1 gün içinde
5,0 (3 değerlendirme)
3,2
3,2
Kullanıcı Avatarı
Hi,sir, I'm sure that I can be a excellent candidate for your project. Please contact me, so that we can discuss more over chat. I value my credits from clients. Thank you for your reading. I have worked for a long time on many projects similar to your project - C++ Animal Daycare I am very familiar with skills such as C Programming, C++ Programming and so on.
$25 USD 1 gün içinde
5,0 (6 değerlendirme)
2,8
2,8

Müşteri hakkında

   UNITED STATES bayrağı
Dallas, United States
5,0
2
Ödeme yöntemi onaylandı
Nis 10, 2019 tarihinden bu yana üye

Müşteri Doğrulaması

Bu müşterinin diğer işleri

Game of War Stack Implementation
$10-30 USD
Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.