Sage Software Interview Question for Software Engineer / Developers
- 0of 0 votes
AnswersQ9. Write code to implement a class for wrapping text stored in a file. You should add enough functionality to the class to demonstrate your ability to design classes with either the C++ or C# language.
- Jack March 17, 2006
The class should at least meet the following requirements:
1. The class should be named CPersistentString
2. A class instance should flush its string to a file before it dies.
3. The class should support at least the following operators: "=", "==", and "[ ]".
4. The class should include the following operations: GetLength(), IsPalindrome(),Load(), Persist().
Feel free to add more than just the minimum requirements. You may use any functions in the standard C library (for C++) or .NET framework (for C#) and you may use a compiler to check your work.| Report Duplicate | Flag | PURGE
Sage Software Software Engineer / Developer Coding