Lab 8
Version 8
This is an array of shapes
Main Page
Classes
Files
File List
All
Classes
Functions
src
ShapeStore.h
1
#ifndef SHAPESTORE_H
2
#define SHAPESTORE_H
3
4
#include <string>
5
#include "Shape.h"
6
7
class
ShapeStore
8
{
9
private
:
10
Shape
store[10];
// this is the array that we are using to store the shapes
11
int
count;
//this represents the number of shapes currently stored.
12
public
:
16
ShapeStore
();
21
void
addShape
(
Shape
shape );
22
29
Shape
findShapeWithMostSides
()
const
;
30
38
Shape
findShapeWithThisColor
(
string
color )
const
;
39
};
40
41
#endif
Generated on Thu Apr 3 2014 13:21:39 for Lab 8 by
1.8.2