[SOLVED] CS计算机代考程序代写 Hive //! @file

30 $

File Name: CS计算机代考程序代写_Hive_//[email protected]
File Size: 414.48 KB

SKU: 6047206690 Category: Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Or Upload Your Assignment Here:


//! @file
//! @brief Header file for DerivedJRectangleFromAbstractGeometricObject.cpp
//!

#ifndef JRectangle_H
#define JRectangle_H
#include “AbstractGeometricObject.h”

//! Rectangle class that is a subclass of the GeometricObject class
//! It needs to be a subclass of CObject in order to be serializable, and implement
//! a Serialize() member function
class JRectangle : public GeometricObject
{
public:
JRectangle();
JRectangle(double width, double height);
JRectangle(double width, double height, const string& color, bool filled);
double getWidth() const;
void setWidth(double);
double getHeight() const;
void setHeight(double);
double getArea() const;
double getPerimeter() const;
virtual void Serialize(CArchive& ar);
friend ostream& operator<<(ostream&, const JRectangle&);private:double width;double height;protected:DECLARE_SERIAL(JRectangle);};#endif

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS计算机代考程序代写 Hive //! @file
30 $