Text Editor with C++