C++ .Net Simple Class Project

进行中 已发布的 Jul 19, 2005 货到付款
进行中 货到付款

General Class Guidelines:

1 - Classes will all be declared in 1 file. .cpp

2 - No Manifests or macros will be used

3 - No inlines will be used

4 - Static variables are not permitted within member functions

5 - Consistent nomenclature is encouraged

6 - No Library Functions

BOAT YARD PROJECT: first cut

Class Semantics:

1. Attributes:

A) Length - measured in meters and tenths. Tolerances - max 10.0, min 3.0, unknown: 0, incorrect: -1.

B) Beam - measured in meters and tenths. Tolerances - max 3.0, min 1.0, unknown: 0, incorrect: -1.

C) Draft - measured in meters and tenths. Tolerances - max 2.0, min .25, unknown: 0, incorrect: -1.

D) Name - Maximum 20 bytes, truncate if excessive; all alphas must be CAPS; unknown "NONAME".

E) Material - 1: wood, 2: fiberglass, 3: steel/aluminum, 4: other; unknown: 0, incorrect: -1.

F) Manufacture - 1: custom, 2: production, 3: modified production, unknown: 0, incorrect: -1.

* This attribute may only be altered if unknown or incorrect; also may be altered if it has a value of 2 and is changing to 3. *

G) Owner ID - 6 digit number - maybe a long integer; unknown or unspecified = -1.

2. Methoods:

A) Accessors and Mutators for all attributes per the above specs. Length, Beam and Draft - allow accessors and mutators in feet and tenths.

B) Default Constructor: All attributes set to unknown.

C) Initialise Constructor: All attributes.

------

BOAT YARD PROJECT: second cut

Classes:

Boat

- Add Boolean: Commercial

- Class will be abstract

DERIVE 2 SUBCLASSES FROM IT:

1 - Sailboat:

Inherits Boat: Plus

Attributes:

Rig - integer: 1 - sloop, 2 - ketch/yawl (default)

Hull - integer: 1 - monohull, 2 - cat/tri maran (default monohull)

2 - PowerBoat:

Inherits Boat: Plus

Attributes:

HP (horsepower) - integer. Maximum 400, min 0.

Fuel - integer: 1 - gasoline, 2 - diesel, 3 - other (default gas)

Maintain base class semantics for invaid/unknown in derived classes.

** Both subclasses will have a method called CalcFee: **

This will be based upon the following:

Sailboat Fee will be LOA * 50

Powerboat Fee will be LOA * 50 PLUS

100 if HP <= 150

150 if HP between 151 and 300

200 if greater than 300

A 7.5 surcharge is added if the boat is commercial

.NET C 编程

项目ID: #22072

关于项目

16个方案 远程项目 活跃的Jul 20, 2005

授予:

DougRoyer

This is a very simple project.

$30 USD 在1天内
(4条评论)
6.0

有16名威客正在参与此工作的竞标,均价$60/小时

netcoder

Hi, I think I can do it:-)! Best regards, rentacoder:-)

$55 USD 在5天内
(86条评论)
5.9
nidle

Hello, We have examined your request and would be glad to handle the project proposed. More than 7 years of experience in the field of web technologies and programming help us achieve outstanding results for our cl 更多

$100 USD 在7天内
(1条评论)
4.8
viaden

Dear Friend, The project is within our skills and abilities. We are a company with more than 10 years of experience in the IT-sphere. We offer flexible pricing and fast turnaround. If you are interested, please, contac 更多

$100 USD 在7天内
(1条评论)
4.6
ops8086

Dear Maxin, I'm an experienced developer .NET platform, C# and many other languages. I worked on many object oriented 3d game engines, so i have excellent experience in problems abstraction and solution with OOP. No 更多

$38 USD 在4天内
(0条评论)
0.0
SoftMan

Thank you for the detailed specification. As an experienced C++ I'm confident I address this interesting problem for you consistent with you coding style requirements. I look forward to discussing my bid further shou 更多

$100 USD 在2天内
(0条评论)
0.0
a6sridhar

We follow Software Engineering standards in software development.

$81 USD 在9天内
(0条评论)
0.0
cireh

Hi, I have a lot of expertise with c++. Please see PM

$75 USD 在2天内
(0条评论)
0.0
Commodore64

I can do this. Please, contact me via PM. Good Luck.

$40 USD 在5天内
(0条评论)
0.0
amitntambe

will try to provide with best user friendly

$70 USD 在5天内
(0条评论)
0.0
Spidermakers

I can provide this to you on the same day that you accept the project. I helped developed some of the original C++ compiler tools, so my experience goes back a long long way... I am also very familiar with C++ .NET, so 更多

$45USD 在1天里
(0条评论)
0.0
saini4u

Hi i can Do this...More Information Plz see PMB

$30 USD 在7天内
(0条评论)
0.0
garre

I will submit the work in 24 hours straight after my bid was accepted. Thanks, Suresh Garre.

$30USD 在1天里
(0条评论)
0.0
rtr

I shall complete this project ASAP.

$60 USD 在2天内
(0条评论)
0.0
moctob

Can be done...

$30 USD 在5天内
(0条评论)
0.0