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
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 clients. Trust us: the result will surpass your expectations. At the moment we have a number of questions to you. Please, feel free to contact us via PMB for further discussion after what we'll provide you with an accurate calculation.
Best Regards,
Nidle Inc.
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, contact us via PMB and provide more info on the project. Looking forward to working with you, Viaden Inc
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.
Now I work with an italian software house called Megainformatica Srl.
My bid is only 50$ for this project because i'm new to elance.com.
If you're interested i will be happy to work with you!
Best Regards!
--
Marco Siino
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 should you decide to use our services, whereupon I will quickly agree with you all necessary requirements where further detail might be needed.
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 what I write will work well with .NET.... I have tutored many computer science class students, I will help you get an A+ on this assignment.