Question: ****Please use visual studio C++.Thank you**** #include Text.h Text::Text ( const char *charSeq ) { } Text::Text ( const Text &other ) { } void
****Please use visual studio C++.Thank you****

#include "Text.h"
Text::Text ( const char *charSeq )
{
}
Text::Text ( const Text &other )
{
}
void Text::operator = ( const Text &other )
{
}
Text::~Text ()
{
}
int Text::getLength () const
{
return -1;
}
char Text::operator [] ( int n ) const
{
return 0;
}
void Text::clear ()
{
}
void Text::showStructure () const
{
}
Text Text::toUpper( ) const
{
Text temp;
return temp;
}
Text Text::toLower( ) const
{
Text temp;
return temp;
}
bool Text::operator == ( const Text& other ) const
{
return false;
}
bool Text::operator
{
return false;
}
bool Text::operator > ( const Text& other ) const
{
return false;
}
4. Start Implementing the operations of the Text class (only the body of methods) 41. Implement default constrctor. Text ::Text ( const char *charseq ) 42. Implement copy constructor: Text: Text ( const Text &other ) 43. Implement operator=: vold Text:operator = ( const Text &other ) 4.4. Implement destructor: Text::-Text 0-) 4.5. Implement getLength0: int Text: :getLength) const f) 4.6. Implement operator [: char Text: :operatorint n) const (-) 47. Implement clear(): void Text :clear () {-} 4.8. Implement showStructure0:void Text: :showstructure ) const (-)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
