Find Jobs
Hire Freelancers

Create and manipulate lists of cards

$10-15 USD

Completed
Posted almost 21 years ago

$10-15 USD

Paid on delivery
The Problem Write a program that reads in a pack of cards, shuffles it and prints it out again. You will need to define two classes, one for the individual cards and one for the pack. You must use my card and pack declarations together with my main function, these are available in cards.h and [login to view URL] respectively. (I will compile your code with my own copies of these files: do not hand them in or make any changes to your copies of them!) You must hand in a [login to view URL] file which contains the function definitions and overloaded operators for the classes in cards.h which I want to use in pack.cc. Sample input and output files are available. Please make sure that you follow the specifications laid down in the code files. Input and output must follow the specification given in the I/O specification. Programs will lose marks for ignoring or altering the specifications. This cannot be emphasised enough! Make sure that your output matches the example output exactly. Arrays are a useless data structure for implementing delete operations. Using the card type from the previous section, but ignoring the pack type, write a program that puts a stream of cards (read from cin in the same format as the pack) into a list and then deletes all the cards from that list which are beaten by the card given as the first argument to the program. Write out the remaining cards in the list to cout, in the same format as the pack output. Sample input and output files are available based on the program being run with the first argument '9 H'. The template for you to use is available in list.cc. Please check the zipped file included for the full details. This is the main part of the problem. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. ## Platform C++
Project ID: 2934843

About the project

10 proposals
Remote project
Active 21 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
See private message.
$2 USD in 14 days
3.9 (12 reviews)
3.4
3.4
10 freelancers are bidding on average $10 USD for this job
User Avatar
See private message.
$12.75 USD in 14 days
5.0 (158 reviews)
7.5
7.5
User Avatar
See private message.
$12.75 USD in 14 days
5.0 (25 reviews)
6.2
6.2
User Avatar
See private message.
$12.75 USD in 14 days
4.9 (212 reviews)
5.8
5.8
User Avatar
See private message.
$12.75 USD in 14 days
5.0 (47 reviews)
4.5
4.5
User Avatar
See private message.
$12.75 USD in 14 days
5.0 (18 reviews)
3.5
3.5
User Avatar
See private message.
$12.75 USD in 14 days
5.0 (11 reviews)
3.4
3.4
User Avatar
See private message.
$6.80 USD in 14 days
4.5 (15 reviews)
2.7
2.7
User Avatar
See private message.
$12.75 USD in 14 days
4.9 (10 reviews)
2.5
2.5
User Avatar
See private message.
$6.80 USD in 14 days
5.0 (2 reviews)
0.0
0.0

About the client

Flag of HONG KONG
Hong Kong
4.7
4
Member since Mar 25, 2003

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.