Find Jobs
Hire Freelancers

Basic C++ Program

$30-50 USD

已关闭
已发布将近 20 年前

$30-50 USD

货到付款
+ Write a program that places a cat into a pen, which can hold up to seven cats, each time a key (e.g. Enter key) is pressed. + Each cat is an object instantiated from class Cat??"defined in file cats.h + Each cat object, when dynamically instantiated, randomly choose a fur color (black, gray, or brown), and eye color (green, blue, or brown) and a hair length (short or long). + Provide “get?? and “set?? methods for these attributes, + Carefully consider which “get?? and “set?? methods should be public and which should be private??"all member functions are defined in [login to view URL] Certain combinations of cats result in fights breaking out: + if the number of gray cats exceeds the number of brown cats, the gray cats fight with the brown cats. + A fight also breaks out if at least one black cat with green eyes and at least one black cat with blue eyes are in the pen with exactly one black cat with brown eyes. Write a nonmember function named "check" that determines if a fight has broken out. Hints: + Read the problem description carefully. + Recall that if the number of gray cats exceeds the number of brow cats, the gray cats fight with brown cats. + The cats do not fight if the number of brown cats exceeds the number of gray cats. + Also notes that black cats fight if exactly one black cat with brown eyes is put in the pen with at least one black cat with green eyes and at least one black cat with blue eyes. + If the pen contains more than one black cat with brown eyes, the black cats will not fight. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform I will need this C++ program coded using Microsoft Visual C++ 6.0 or equivalent. I am very behind in my C++ Class. I need this program completed no later than Wednesday 21st of July. Please send the program to me as soon as possible. THANK YOU!
项目 ID: 3274145

关于此项目

23提案
远程项目
活跃20 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
23威客以平均价$23 USD来参与此工作竞价
用户头像
See private message.
$42.46 USD 在7天之内
5.0 (158条评论)
6.0
6.0
用户头像
See private message.
$11.05 USD 在7天之内
4.9 (195条评论)
5.7
5.7
用户头像
See private message.
$17 USD 在7天之内
5.0 (220条评论)
5.1
5.1
用户头像
See private message.
$34 USD 在7天之内
5.0 (84条评论)
5.1
5.1
用户头像
See private message.
$34 USD 在7天之内
5.0 (51条评论)
5.3
5.3
用户头像
See private message.
$11.05 USD 在7天之内
4.9 (16条评论)
4.6
4.6
用户头像
See private message.
$25.50 USD 在7天之内
4.9 (41条评论)
3.7
3.7
用户头像
See private message.
$42.50 USD 在7天之内
4.0 (18条评论)
4.1
4.1
用户头像
See private message.
$25.50 USD 在7天之内
4.5 (1条评论)
3.9
3.9
用户头像
See private message.
$8.50 USD 在7天之内
4.9 (42条评论)
3.4
3.4
用户头像
See private message.
$10.20 USD 在7天之内
5.0 (29条评论)
3.5
3.5
用户头像
See private message.
$21.25 USD 在7天之内
4.6 (16条评论)
3.4
3.4
用户头像
See private message.
$34 USD 在7天之内
5.0 (13条评论)
2.7
2.7
用户头像
See private message.
$42.50 USD 在7天之内
5.0 (2条评论)
1.7
1.7
用户头像
See private message.
$17 USD 在7天之内
5.0 (5条评论)
1.5
1.5
用户头像
See private message.
$8.50 USD 在7天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$21.25 USD 在7天之内
1.5 (1条评论)
0.0
0.0
用户头像
See private message.
$4.25 USD 在7天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$25.50 USD 在7天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$29.75 USD 在7天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Silver Spring, United States
4.8
12
会员自7月 3, 2004起

客户认证

这个客户的其他工作

Math Program
$15-20 USD
谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。