CS 371 Lab #5: C++ Part Two
Monday, February 20, SH 118b
Lab Mission: practice C++. And, talk about two major topics:
GUI's in C++ and implementing UML elements in C++.
Secondary Lab Goal: work on your next homework assignment.
UML-to-C++
Before you kill yourself on this lab, try to find a tool that will Generate
C++ for your UML diagrams. Most likely you can find tool(s) to automate
part of the job. A big question is how well they handle changes. When
the diagram changes, the code needs to change.
- Show me how to represent each element of UML class diagrams in C++:
classes, fields, methods, inheritance, aggregation, associations,
multiplicities, roles
- Show me how to represent UML statecharts in C++.
- Show me how to represent UML collaboration diagrams in C++.
- Can we generate any code from the UML use case diagrams?