UMBC CMSC 202 Spring 2001 CSEE | 202 | 202 Spring 2001

Project 3
Notes and Clarifications

  1. Under "Implementation Requirements and Restrictions," it states, "As always, your program must check for the proper number of command line arguments and exit gracefully if the number is incorrect." The code in Proj3.C actually already does this for you.

  2. Under "Implementation Requirements and Restrictions," it states, "All strings stored by your program must be dynamically allocated." You may have noticed that in the eventLoop method of ClubUI.C that the strings firstName, lastName, and interest are statically allocated. This is because it cannot be anticipated how much space the character buffers that pick these items up from the command line will need. However, in any code that you write, all strings must be dynamically allocated. That is, you must "new" them.


CSEE | 202 | 202 Spring 2001