I\'m making an extremely crude command based text editor in C++. It works just fine in outputting a .txt\'s contents. But when writing it gets more complicated. It encounter