CSE 332 Interface Polymorphism Studio

CSE 332 Interface Polymorphism Studio - CSE 332 Studio...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 332 Studio Session on C++ Interface Polymorphism These studio exercises are intended to introduce concepts and techniques for interface polymorphism using C++ templates, and to give you experience using them (along with introducing ideas like iterator ranges that we’ll use later when talking about the STL) in the Visual C++ environment. In this studio you will again work in small groups, and as before students who are more familiar with the material are encouraged to help those for whom it is less familiar, and asking questions during the studio sessions is highly encouraged as well. Please record your answers as you work through the following exercises. After you have finished please post your answers to the required exercises, and to any of the enrichment exercises you completed, to the course message board as a reply to my posting titled “Interface Polymorphism Studio”. The enrichment exercises are optional but are a good way to dig into the material a little deeper, especially if you breeze through the required ones. Please make sure as you work through these exercises that each team member has a chance to participate actively – e.g., take turns coding, looking up details, debugging, etc., and please also refer to the slides as you work. Tips: (1) For any of the exercises in this studio session (especially the early ones) please feel free to re-use code from your work on the exercises for the previous studio session. (2) Since you’ll be developing different versions of template definitions, commenting out code rather than completely removing it also may be helpful. (3) Also, do a clean build whenever you make changes to your template code.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

CSE 332 Interface Polymorphism Studio - CSE 332 Studio...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online