I\'m writing a program that shows a shape of rectangle and triangle, and compute
ID: 3539148 • Letter: I
Question
I'm writing a program that shows a shape of rectangle and triangle, and computes the area of those shapes.I'm using Microsoft Visual Studio. These is my codes:
--File shapes3.cpp
http://www.mediafire.com/view/d2r2n45kuzw5xub/shapes3.cpp
--File testshapes3.cpp
http://www.mediafire.com/view/miz3j3tfbv7n6nm/testshapes3.cpp
--File shapesfunctions3.h
http://www.mediafire.com/view/bfkdwp3fuv7b39s/shapesfunctions3.h
--File Shapes.h
http://www.mediafire.com/download/8id33t3i6zm6y8g/Shapes.h
http://www.mediafire.com/view/8id33t3i6zm6y8g/Shapes.h
But I get this errors: Any solution to this
link to the image : http://www.mediafire.com/view/06u63dir8rutw13/Shapes3_errors.PNG
Explanation / Answer
shapes.h
class Shapes
{
private:
//char selection;
public:
char SelectShape();
//void DisplayMenu();
//void GetSelection();
//void CheckSelection();
int GetInteger();
void Rectangle();
void Triangle();
void ImplementShape(char);
};
shapesfunctions3.h
//char SelectShape() {return ' ';}
void DisplayMenu();
void GetSelection();
void CheckSelection();
//int GetInteger() {return 0;}
//void Rectangle();
//void Triangle();
//void ImplementShape();