Showing posts with label Borland C. Show all posts
Showing posts with label Borland C. Show all posts

Saturday, May 17, 2008

How to open C program code window

How to open C program code window

Before opening C on your computer. Please ensure that C compiler has been loaded or not. If not then please load it first and then try any of the following ways to open C which suit your computer setting.

1.Start>>Program >> Turbo c.

2. If turbo C icon is present on your computer desktop then simply click on it.

3. My computer >>c:\>> tc (folder)>> bin (folder) >> tc.exe (icon).

4. Or make sure the path where you have loaded the C on your computer and try to run it from there.

Description of C code window


Description of C code window

1. =: Interface to external programs.

2. File: File related option such as opening and saving file.

3. Edit: Cut,Copy,Paste operation.

4. Search: Find,Find & Replace operation.

5. Run: Compile and run the file currently loaded in the text editor. And debugging such as setting/clearing trace points can be performed from this menu.

6. Compile: The menu item compiles a source file to an object file or an .exe file.

7. Debug: Provides interactive debugging. Variables can be examined/set/cleared, and we can watch variables change during execution.

8. Project: This menu item controls Borland C++'s handling of large programs that are in multiple source file.

9. Option: Default option are set during installation . The user can change any option at any time through this menu.

10. Windows: Windows operation include zoom, arranging windows on the screen , and closing windows.

11. Help: Borland C++ includes a context sensitive help capability. Select Help or press f1 for general Help, Shift f1 for indexed help or Ctrl f1 for context sensitive help.

Saving and Running a program

Saving and Running a program

Press Alt F, move the cursor to save , press Enter and then type file name with extension .C in given Text Box and press Enter to save the program.

Running a program

Press Alt R to pull down the Run menu and Enter to begin compilation, A compile window opens and shows progress and output can be viewed in output window and press Alt W to pull down window menu, move the cursor down to output and press Enter. Press Alt W and move the cursor to close to close output window immediately.

Exiting Borland C

Press Alt X to Exit Borland C and return to Dos Prompt.

Copyright

Copyright © 2008 C Tutorial, All rights are reserved