Sunday, July 13, 2008

THE CONDITIONAL STATEMENTS






























THE TURBO C ENVIRONMENT




FOUR PARTS OF TURBO C ENVIRONMENT

1. MAIN MENU

The main menu contents or options instructs Turbo C to do something as indicated in the list of menu.




BASIC MENUS OF TURBO C

A. FILE
File menu is used to "load and save files, handles directories, invokes DOS and exits Turbo C".

SUBMENUS UNDER FILE MENU

a. LOAD
Load command enables the user to select a file to be opened or loaded into the editor.

b. PICK


Pick command enables the user to select a file based on the last nine files previously opened or edited.


c. NEW

New command lets the user edit a new file or start new programs


d. SAVE


Save command store or saves the file currently in the editor.


e. WRITE TO


Write to command enables the user to save a file using a different filename.


f. DIRECTORY


Directory command displays the content of the current working directory.


g. CHANGE DIR

Change dir command enables the user to specify the defined path to change the default path or directory.


h. OS SHELL


OS Shell command loads the DOS command processor and lets the user execute DOS commands.


i. QUIT

Quit command lets the user to exit or quit Turbo C



B. RUN

Run menu is used to "compile (check for errors), links, and runs the program currently loaded in the environment.



C. COMPILE


Compile menu is used to "compile the program currently in environment".



2. EDITOR STATUS LINE AND EDIT WINDOW



Editor status line and edit window is the place in Turbo C where you type your program and where you see the current line and column of the text you typed.


3. MESSAGE WINDOW



Message Window is located beneath the middle of edit window and hotkeys. It is used to displays various compiler or linker messages.


4. HOT KEYS



Hot keys is located at the bottom of the Turbo C's opening screen. It refers to shortcut or shorthand for selecting a menu. Two sets of hotkeys are available: the normal and the alternate set.