text viewer

C++ Tutorial: Simple Text viewer

Submitted by Bright777 on
   The program for today is text viewer. It works this way – you click on a button, then you choose a file with *.txt extension, after that you click “Open” and you can see all file in your main form. For coding this program we will use Borland C++ Builder 6. Preparation    First of all create new application. On the main form put such controls as Button, Rich Edit control and OpenFile Dialog. After you have done that you need to configure properties of Rich Edit control.