Question: In c++ please 2. (50 marks) A string in C++ is simply an array of characters with the null character(10) used to mark the end

In c++ please  In c++ please 2. (50 marks) A string in C++ is

2. (50 marks) A string in C++ is simply an array of characters with the null character(10) used to mark the end of the string. C++ provides a set of string handling function in string.h> as well as I/O functions in . With the addition of the STL (Standard Template Library), C++ now provides a string class But for this assignment, you are to develop your own string class. This will give you a chance to develop and work with a C++ class, define constructors and destructors, de fine member functions outside of the class body, deve lop a copy constructor and assignment operator (and understand why!), work with C-Style strings and pointers, dynamically allocate memory and free it when done. le testing which implies writing a Of course, you must also do uses your new string class. Submit your assignment under URCourses

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!