gfactory
Loading...
Searching...
No Matches
ShapeFactory.cc
Go to the documentation of this file.
1
#include "
ShapeFactory.h
"
2
3
#include <iostream>
4
using namespace
std;
5
6
void
Triangle::Area
() {
7
cout <<
" Factory shape Triangle::Area() "
<< endl;
8
}
9
10
void
Box::Area
() {
11
cout <<
" Factory shape Box::Area() "
<< endl;
12
}
13
ShapeFactory.h
Box::Area
void Area()
Definition
ShapeFactory.cc:10
Triangle::Area
void Area()
Definition
ShapeFactory.cc:6
examples
ShapeFactory.cc
Generated by
1.10.0