04 Aug write a short reflection in your journal.
1. You will have a few programming assignments for this week. The assignments are designed to reinforce and solidify the major OOP concepts covered this week. Specifically, you will pass vectors as arguments to functions and return vectors from function calls. Include copy constructors in your class definition and write function templates.
You must work on the programs independently, without seeking assistance from tutors, colleagues, classmates, and friends. In the live chat this week we will do similar types of problems, you may either attend the live chat sessions or watch their recordings if you need additional directions.
To view the homework assignment for Week Two, click on the link below to access.
- CSC252 Week 2 Homework.docx – Word Document (121 KB)
Submit a copy of your code and a sample screen shot of the program output. Copy and paste all programs and outputs in one file only. Do not submit separate files. Acceptable formats are .doc and .docx.
3. In this activity you are asked to download the files CoursewithCustomCopyConstructor.h, CoursewithCustomCopyConstructor.cpp and CustomeCopyConstructorDemo.cpp from the textbook site. Create a C++ project for the Course application then compile and run the program. Try different input to verify the customized copy constructor is working properly. This will help you with your programming assignment for this week.
Then, write a short reflection in your journal. What inputs did you use?
