Additionally, I am stuck on the idea of "Notice that we can store any derived type in a base class array! This means that no matter how many shapes we have, refreshing is simply: for(int i=0 ; i < num; i++) shapes[i].draw();.
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your databasehttps://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database