NEW JERSEY INSTITUTE OF TECHNOLOGY

FINAL EXAM / CIS786-852

Adv. Programming Environment and Tools

Date posted: Monday, May 6, 1998

Date Due: Monday, May 11, 1998

Write a C program using the Xt and Motif libraries to create a calendar with a graphical interface that keeps track of events.

The interface should consist of:

The user selects a particular date by setting the scale widgets. The date chosen by the user should be displayed as text in a textfield widget.

To add an event to the calendar, the user sets the date, using the scale widget and then pushes the Add Event button. This should cause a text widget to appear where the user can type a text of their choice. The program should keep track of all the events entered by the user. Please note that the user can enter more than one event for a particular day.

To retrieve an event previously entered for a given day, the user first sets the date and pushes the Retrieve button. The program should display the first line of each text, entered by the user for that given day, in the scrollable list. The user can then choose an item from the list which the program will display in a text widget.

EVALUATION

The evaluation of your program will be based on the following criteria:

Please upload your source code along with compiling instructions, via my upload utility.