Abe K.

asked • 04/15/21

I need the implementations for all the classes in this project in C++

This is the link to all the instructions to the project, there should be a Shape class as the abstract parent class and circle, triangle, rectangle children classes which inherit from shape. Should be written in C++.

https://maryash.github.io/235/projects/project-4/project-4.html

Patrick B.

You did not answer my question. What are the EDGES? What are they for and what do they do? I see in the circle it sets the edges to ZERO.. How do we know which direction to populate the characters. In the Circle example they are populated down the column but in the rectangle/square they are along the edges. INCOMPREHENSIBLE!
Report

04/15/21

Abe K.

the link i posted has all the instructions, edges are the corners so rectangle has 4 triangle 3 and circle was zero. The link has pictures on how it is supposed to be displayed.
Report

04/15/21

Patrick B.

ok thank you... and the letters????
Report

04/15/21

Abe K.

what letters, do you mean the letters in the 2d array, the array is a char array
Report

04/15/21

Abe K.

if you look at the circle example it is similar to it but for the triangle and rectangle it would just be those shapes.
Report

04/15/21

Abe K.

The pictures in the instructions show it maybe that helps
Report

04/15/21

Patrick B.

They are getting populated different ways... the circle is getting populated by columns while the rectangle and the triangle are by rows.
Report

04/15/21

Abe K.

The array is filled with characters so when you display it, it will automatically become the given shape because some of the cells in the array are supposed to be empty/blank
Report

04/16/21

Patrick B.

when is this assignment due?
Report

04/16/21

Patrick B.

Rectangle and Triangle left for you
Report

04/16/21

1 Expert Answer

By:

Patrick B. answered • 04/16/21

Tutor
4.7 (31)

Math and computer tutor/teacher

Abe K.

would you be able to do the other shapes
Report

04/17/21

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.