Find Jobs
Hire Freelancers

C++ programming Project

$30-35 USD

Completed
Posted over 8 years ago

$30-35 USD

Paid on delivery
write desired code in c++ ; 1. Solve the problems a), b) and c) below: a) The Ski Our Mountain ski resort provides four types of tickets for its customers: season tickets for the whole season, monthly tickets for certain months, daily ticket for a whole day, and half-day tickets for 4 hours starting between 9 am and 1 pm on the day. Implement a base class Ticket and derived classes as needed to represent the tickets of Ski Our Mountain. Write a virtual method is_Valid with suitable arguments that checks whether a ticket is valid at a certain moment. In the test program fill a vector of Ticket pointers with the addresses of dynamically allocated Ticketobjects containing ticket data read from a file. Your input file should contain an unordered sequence of at least 15 tickets, some for overlapping time intervals. Have the user enter a date and time and print out a list of tickets valid at this oment. Use sequential search. b) Implement Quick Sort as a template function and sort a partial copy of your Ticket* vector, containing only half-day tickets by date and time. Have the user enter a date and print out a list of tickets for that date. Use binary search to find a ticket for that date, and linear search around this ticket to find all tickets for that date. c) Change the doubly-linked list class from Chapter 12 of the textbook (file [login to view URL]) to accommodate nodes containing Ticket pointers. Create a linked list of half-day tickets ordered by the ticket date and time from the appointments in your original Ticket * vector, by inserting them in appropriate positions, one at a time, into a linked list that is originally empty. In the printout show how the list is filled ticket by ticket. 2. Implement and test a Stack class of integers using the doubly-linked list class from Chapter 12 of the textbook (file [login to view URL]) as a superclass. Use private inheritance. Supply operations size, push, pop, and top. 3. Implement and test a Queue class of integers using a private data member of type the doubly-linked list class from Chapter 12 of the textbook (file [login to view URL]). Supply operations size, enque, deque, front, and back.
Project ID: 8773925

About the project

3 proposals
Remote project
Active 8 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
Awarded to:
User Avatar
Hi there! I'm perfect for this work as I'm very fluent in c++ and have developed many projects in c++. this project of yours looks like a interesting project and I'm fully confident that I can do this in minimum amount of time, I have developed many programs that use quick sort, stacks queues and linked lists. To be honest my favourite subject is data structures therefore I'm fully aware of all the functionalities and implementations of stacks, queues, linked lists. And your project mostly comprises of these things, that's one of the major reasons I'm interested in doing your project I'm currently studying in college with computer science as major, so i know what I'm talking about. i have done similar assignments. and i can surely help you out. CONTACT ME IF YOU HAVE ANY DOUBT OR HAVE FURTHER QUERIES, I'm ALWAYS AVAILABLE!
$30 USD in 3 days
5.0 (3 reviews)
1.4
1.4
3 freelancers are bidding on average $32 USD for this job
User Avatar
This is very easy. I can finish your project perfectly. The doubly-linked list is not complex. Please contact me.
$37 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
IIT GUWAHATI STUDENT, BTECH IN ECE , GOOD PROGRAMMING SKILLS, C++ IS MY BEST CODING SKILL. I CAN MAKE ANY PROGRAM IN THIS
$30 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Bethel, United States
5.0
3
Payment method verified
Member since Jul 24, 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.