MFC Project

To submit: A MSWord (.doc) or text (.txt) file.

 

Part A. CString (50 Points)

Write a console application that tests the MFC CString class comparison and concatenation operators. In addition, each member of the class will be given an additional method of CString to investigate. See this link of assignments.

 

Part B. CRect (50 Points)

Repeat Part A for the CRect class. Test the CRect overloaded addition and equality operators. In addition, each member of the class will be given an a additional method of CRect to investigate. See this link of assignments.

 

For both Part A and Part B, turn in (1) a description of your CString method based on the online help, (2) the source code that you use to test your methods, (3) the output from running your source code, (4) a paragraph explaining how you know that the CString and CRect methods assigned to you work.

Grading breakdown:

Part Class   Item Points
A CString (1) Description 10
A CString (2) Source Code 15
A CString (3) Output 10
A CString (4) Summary 15
B CRect (1) Description 10
B CRect (2) Source Code 15
B CRect (3) Output 10
B CRect (4) Summary 15