CS计算机代考程序代写 #ifndef SDDS_TEXT_H__

#ifndef SDDS_TEXT_H__
#define SDDS_TEXT_H__
namespace sdds {
class Text {
char* m_filename ;
char* m_content ;
int getFileLength()const;
protected:
const char& operator[](int index)const;
public:
Text(const char* filename=nullptr);

void read();
virtual void write(std::ostream& os)const;
};
}
#endif // !SDDS_PERSON_H__