Docsity

Installing and Configuring TextPad for C/C++ Programming, Exercises of Operating Systems

Toggle sidebar
bg1
Installing and Configuring TextPad
TextPad is a powerful and easy to use editor for plain text files. The Windows multiple document
interface allows multiple files to be edited simultaneously. Text can be dragged and dropped
between files. Besides its many powerful capabilities (presented at www.textpad.com), we are
adopting this tool due to its strength of identifying and color coding programming language
syntax. Also you’ll appreciate its feature of displaying line numbers which would be very helpful
during code editing.
Follow the steps to install and configure TextPad to meet our requirements:
1. Run the program installer (setup) named as install.exe and follow the guided steps of
the installation wizard.
2. Run TextPad using the Start button or the shortcut placed on your Desktop. In order to
configure this tool to suit our needs, follow the rest of the steps.
3. From the main menu, select Configure -> Preferences, as shown in Figure 1.
4. On the Preferences window, select File option in the left pane. The right pane will
then look like as shown in the Figure 2. Change the Number of recent files on
File menu to at least 8 or more. Also change the Default file extension to
cpp.
5. Again, on the Preferences window, select View option in the left pane. The right pane
will then look like as shown in Figure 3. Select (tick) the Line Numbers option. Also
select (tick) the Transparent dialog boxes option.
Figure 1
Figure 2
docsity.com
pf3

Partial preview of the text

Download Installing and Configuring TextPad for C/C++ Programming and more Exercises Operating Systems in PDF only on Docsity!

Installing and Configuring TextPad

TextPad is a powerful and easy to use editor for plain text files. The Windows multiple document interface allows multiple files to be edited simultaneously. Text can be dragged and dropped between files. Besides its many powerful capabilities (presented at www.textpad.com), we are adopting this tool due to its strength of identifying and color coding programming language syntax. Also you’ll appreciate its feature of displaying line numbers which would be very helpful during code editing.

Follow the steps to install and configure TextPad to meet our requirements:

  1. Run the program installer (setup) named as install.exe and follow the guided steps of the installation wizard.
  2. Run TextPad using the Start button or the shortcut placed on your Desktop. In order to configure this tool to suit our needs, follow the rest of the steps.
  3. From the main menu, select Configure -> Preferences , as shown in Figure 1.
  4. On the Preferences window, select File option in the left pane. The right pane will then look like as shown in the Figure 2. Change the Number of recent files on File menu to at least 8 or more. Also change the Default file extension to cpp.
  5. Again, on the Preferences window, select View option in the left pane. The right pane will then look like as shown in Figure 3. Select (tick) the Line Numbers option. Also select (tick) the Transparent dialog boxes option.

Figure 1

Figure 2

  1. On the same Preferences window, select Document Classes option in the left pane. Expand the option by clicking on the little plus (+) sign available on the left. From the expanded sub-menu, select C/C++ option, and again expand this option by clicking on the little plus (+) sign available on its left. From the sub-menu of C/C++ under Document Classes , select Font. The right pane will then look like as shown in Figure 4. Select Courier New font, Regular style and size 9.
  2. Then select Printing option under C/C++ (left pane). Select (tick) the Line Numbers and Word wrap long lines options. Set suitable page margins. See Figure 5.

Figure 3

Figure 4

Figure 5