Using Borland C++

Posted On
Socialize It →
0
For writing compiling programs in Borland C++, the Borland C++ software must either be available on hard disk. After booting your system and once the dos prompt appears on the screen, then do the following.

1. Place your working copy of Borland C++ Program disk in the floppy disk drive, or change to your Borland C++ subdirectory.

2. Type BC at the doc prompt and press enter. It will take you to the IDE (integrated Development Environment) of BC++

The topmost row of the IDE displays its menu that contains option
File , Edit , Search , Run , Debug , Project , Options , Windows , Help. Options on the main can be involved by pressing Alt Key and the highlighted letter of the menu option. The option (=), the system menu option , can be involved by pressing Alt-spacebar. We are not going in details of IDE and its options. You can refer to the user manual of Borland C++ for detailed information .

3. To write a program, do the following:

(I) Press Alt+ E to start the editor (II) Type your C++ program line by line

4. To save your program, do the following:

(I) After typing the program, press Alt+F to activate File Menu.

(II) Press S to save the program file.

(III) Type the program mane you want to give to your  program file. You need not give extension .cpp. Borland C++ adds it automatically.

(IV) Press Enter and your files is saved.

5. To compile your program, press Alt+F9 key combination or alternatively you can press Alt-C followed by C or enter key.

6. To run you program, press Ctrl+F9 key combination  or alternatively Alt-R followed by R or enter key.

When you execute your program, it waits for the inputs if required any and carries out all the instructions.

7. To see your program output, press the key combination Alt+F5. Any keypress or click will take you back to Borland C++ IDE.


0 comments:

Post a Comment

'