In this project, you will read information about various shapes from an input file, instantiate new shapes with the required attributes, and then "draw" all the shapes using a polymorphic function. Your main( ) should perform the usualy command line argument verification, open the input file, read the shape information from the file, instantiate each shape and then print all the shapes. Be sure to delete any and all dynamically allocated memory so there are no memory leaks. The command line will have just one argument -- the name of the input file.
1) Design of initial functionality (design template provided) 2) Complete and fully-functional working program in executable form as well as complete source code of all work done.
You will be using the g++ compiler. ALWAYS compile your program using the -ansi and -Wall options. Unix - version Linux