C++ Pointers Lab
Create two triangle classes, one where the internal properties are stored on the stack and one where the internal properties are stored on the heap. Each triangle should have a base, height, and a function that returns the area.Triangles 1: Create a vector of triangles where everything is stored on the stack. Triangles 2: Create a vector of triangles where everything is stored...
Read More