CSCI204 Assignment 2

This assignment required to have the experience in object-oriented composition, inheritance, operator overloading and standard template library. There are 3 tasks involved in this assignment.

Task 1

The first task is to write a C++ program that allows user to perform calculations on complex number by overloading its operators. You need to reference to your overloading operators lecture note. It should be easy if you understand the examples explained in the lecture.

Task 2

This task is to write a C++ program to generate the grade report of students using the classes - 'student' and 'course'. The records are kept into a text file, so the program require to read the file and then generate some reports into a output file. Pretty simple, except you have to use public and private functions of the classes.

Task 3

The last task is about using standard library in C++. The C++ program has to read a text file that contains commands to operate on a listed list and then output to a text file for logging. If the command is not recognizable, then the program has to ignore, but continue to execute.


No comments:

Post a Comment