main
someReturnType32 doThing(type1 arg1, const int arg2)
Parameters
type1 arg1 - no description
const int arg2 - no description
(.cpp)
void printDetails(Polygon* shape)
The printDetails()
function prints out some details on a Polygon.
Parameters
Polygon* shape - does a thing
Description
Note that it's not passing through a particular Polygon (like Triangle or Rectangle), rather it's the parent.
(.cpp)
int main()
(.cpp)