Saturday, September 6, 2008

LEARNINGS OF THE WEEK (TAGARO)

LEARNINGS OF THE WEEK
By: Sharra Mae S. Tagaro IV- Rizal
Four parts of C environment
  • Main menu
  • Editor status line and edit window
  • Compiler message window
  • “Hot Keys” quick reference line

Main menu

  • Instructs C to do something as indicated in the list of menu.
  • It can be activated or can be used by pressing Alt key and the first letter of the menu.
  • For example, press Alt+F to activate File menu.

Basic menu of C

  • File – used to load and save files, handles directories, invokes DOS and exits C.
  • Run – used to compile (checks for errors), links and runs the program currently loaded in the environment.
  • Compile – used to compile the program currently in the environment.

Submenu under file menu

  • Load – enables the user to select a file to be opened or loaded into the editor.
  • Pick – enables the user to select a file based on the last nine files previously opened or edited.
  • New – lets the user edit a new file or start new programs.
  • Save – store or saves the file currently in the editor.
  • Write to – enables the user to save a file using a different filename.
  • Directory – displays the content of the current working directory.
  • Change dir – enables the user to specify the defined path to change the default path or directory.
  • OS shell – loads the DOS command processor and lets the user execute DOS commands.
  • Quit – lets the user to exit or quit C.

Editor Status Line and Edit Window

  • It is where you type your program and where you see the current line and column of the text you typed.
  • If you try to press Alt- I or Insert Key, the word insert disappears, meaning that the window is in overwrite mode. Press again "insert" to return to the normal mode and notice that the word insert appears again.

Message Window

  • The message window is located beneath the middle of edit window and Hotkeys.
  • It is used to display various compiler or linker messages.

Hot Keys

  • Hot Keys is located at the bottom of C operating screen.
  • It refers to shortcut or shorthand for selecting a menu.
  • Two sets of Hot keys are available: the normal ones and the alternate set.
  • Press the indicated key to use normal hotkeys. For example, press F1 to activate help. On the other hand, press Alt key briefly and the corresponding Function key to use alternate hot keys.

No comments: