Find Jobs
Hire Freelancers

C++ programming Project

$30-35 USD

Concluído
Publicado há mais de 8 anos

$30-35 USD

Pago na entrega
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.
ID do Projeto: 8773925

Sobre o projeto

3 propostas
Projeto remoto
Ativo há 9 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
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 em 3 dias
5,0 (3 avaliações)
1,4
1,4
3 freelancers estão ofertando em média $32 USD for esse trabalho
Avatar do Usuário
This is very easy. I can finish your project perfectly. The doubly-linked list is not complex. Please contact me.
$37 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
IIT GUWAHATI STUDENT, BTECH IN ECE , GOOD PROGRAMMING SKILLS, C++ IS MY BEST CODING SKILL. I CAN MAKE ANY PROGRAM IN THIS
$30 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
Bethel, United States
5,0
3
Método de pagamento verificado
Membro desde jul. 24, 2015

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.