Description
Assignment 05
1 Guidelines
• You need to do all the assignments alone
• You will submit your assignment to git-hub
• You need to follow the best programming practices
• Some assignments will require you to submit multiple files. Always Zip and send them.
• It is better to submit incomplete assignment than none at all.
• It is better to submit the work that you have done yourself than what you have plagiarized.
• It is strongly advised that you start working on the assignment the day you get it. Assignments WILL take time.
• Every assignment you submit should be a single zipped file containing all the other files. Suppose your name is John Doe and your id is 0022 so the name of the submitted file should be JohnDoe0022.zip
• You can be called in for Viva for any assignment that you submit
1
2 Task
For this assignment you are given the file SmartString.h that contains the sample code. The tasks you need to accomplish are:
• You will need to implement all the functions of the SmartString class exactly like they have been declared in the header file.
• You cannot change the access specifiers of either the attributes or the functions.
• You cannot add extra attributes to the class itself. The functions can have local variables.
• Try to use functions inside one another to maximize code reuse.
• You will need to define SmartString.cpp and main.cpp
• All the functions of the SmartString class must work in the main file
• This is the last programming assignment, so do not forget to treat yourself once it is done!
– The End –
2
Reviews
There are no reviews yet.