COMP2004 Programming Practice
2002 Summer School

Week 7 Monday Tutorial Exercises


  1. Here you can find the code examples from today's lecture. Try running and experimenting with them so that you can understand how they work. Pay particular attention to the "strange" mutating algorithms such as remove() and unique().

  2. Here you can find some code examples for the other useful mutating algorithms mentioned in today's lecture. Try running and experimenting with them so that you can understand how they work. For more information regarding the way they work and how to use them, refer to the STL Programmer's Reference Guide.

  3. Of course, Assignment 3 is due today...