Find Jobs
Hire Freelancers

Card deck program C++

$30-250 USD

Completed
Posted over 7 years ago

$30-250 USD

Paid on delivery
Simple 3 step C++ program that I don't have time to do right now. Program must randomly draw a card from a deck of 52 cards. A class must be created for drawing the cards as well as a namespace. Ive put all the details for the assignment below. Need the assignment by tonight. ____________________________________________________________________________________ Step #1- This program tests the concepts of: Function with Arguments Iterative Statements Decision Statements Array Processing Function Definition Program Objective: Create and display a standard deck of 52 playing cards (see output example below). Use a 2-dimensional array (card) which will use 2 constant string arrays (STDSUIT and STDFACE) to store the names associated with standard playing cards. Create functions to (1) load the standard deck into the arrays. (2) Display the deck. (3) Shuffle the deck. See the Output Layout section below. File List: File Format Example Main Source L#v#[login to view URL] [login to view URL] Record Layouts: None. Special Calculations: None. Specific Processing: Sort of multi-dimensional arrays. Output Layout: Initialized Deck: 0: Ace of Clubs 13: Ace of Diamonds 26: Ace of Hearts 39: Ace of Spades 1: Two of Clubs 14: Two of Diamonds 27: Two of Hearts 40: Two of Spades 2: Three of Clubs 15: Three of Diamonds 28: Three of Hearts 41: Three of Spades 3: Four of Clubs 16: Four of Diamonds 29: Four of Hearts 42: Four of Spades 4: Five of Clubs 17: Five of Diamonds 30: Five of Hearts 43: Five of Spades 5: Six of Clubs 18: Six of Diamonds 31: Six of Hearts 44: Six of Spades 6: Seven of Clubs 19: Seven of Diamonds 32: Seven of Hearts 45: Seven of Spades 7: Eight of Clubs 20: Eight of Diamonds 33: Eight of Hearts 46: Eight of Spades 8: Nine of Clubs 21: Nine of Diamonds 34: Nine of Hearts 47: Nine of Spades 9: Ten of Clubs 22: Ten of Diamonds 35: Ten of Hearts 48: Ten of Spades 10: Jack of Clubs 23: Jack of Diamonds 36: Jack of Hearts 49: Jack of Spades 11: Queen of Clubs 24: Queen of Diamonds 37: Queen of Hearts 50: Queen of Spades 12: King of Clubs 25: King of Diamonds 38: King of Hearts 51: King of Spades Shuffled Deck: ... Step #2- Create the definition and implementation for a class named card which will store the suit and face value of a standard playing card. Include a setFace, setSuit, getFace and getSuit. Protect card objects from being set to invalid face values and suits. Step #3- Place the class into a namespace called cardclass and add documentation to the header and implementation files.
Project ID: 10938129

About the project

1 proposal
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
Hello. It's easy assignment, it can completed today at evening, maybe even sooner. I am ready to start.
$30 USD in 1 day
4.9 (715 reviews)
6.9
6.9
1 freelancer is bidding on average $30 USD for this job
User Avatar
---------------------------------Best Result on Time-------------------------------------------- Hello! I read your description carefully. Your project is absolutely wonderful and fascinating. I have rich experiences in C, C++, C#, MFC, OpenCV, and so on. So we can do your project quickly and accurately. If you give me a chance to work on your project, I will do my best and offer the best result. Please feel free to discuss with me. I will be very happy with your response. Looking forward to your positive response. Thanks KJ Group
$250 USD in 3 days
4.2 (22 reviews)
5.7
5.7

About the client

Flag of UNITED STATES
shrub oak, United States
5.0
4
Payment method verified
Member since May 12, 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) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
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.