how to execute first program in borland c++. install borland c++ download borland c++ from lms – ...

13
How to Execute first program in Borland C++

Upload: aubrey-blankenship

Post on 18-Jan-2018

228 views

Category:

Documents


0 download

DESCRIPTION

Open Borland IDE Go to Bin folder inside BorlandC Locate BC.exe Double Click to open IDE Note: IDE stands for Integrated development environment and it is named as because Editor, Compilor, Debuger, Linker etc. are all integrated in one environment.

TRANSCRIPT

Page 1: How to Execute first program in Borland C++. Install Borland C++ Download Borland C++ from LMS –  rland%20C++%20V3.1.zip

How to Execute first program in Borland C++

Page 2: How to Execute first program in Borland C++. Install Borland C++ Download Borland C++ from LMS –  rland%20C++%20V3.1.zip

Install Borland C++• Download Borland C++ from LMS

– http://vulms.vu.edu.pk/Courses/CS609/Downloads/Borland%20C++%20V3.1.zip

– Install as per instructions given in the help file “How to install.txt” inside that zip folder.

OR• Download Borland C++ from LMS

– http://vulms.vu.edu.pk/Courses/CS609/Downloads/BORLANDC.rar

– Install as per instructions given in the tutorial– http://

vulms.vu.edu.pk/Courses/CS609/Downloads/How_to_Install_BolandC.ppt

Page 3: How to Execute first program in Borland C++. Install Borland C++ Download Borland C++ from LMS –  rland%20C++%20V3.1.zip

Open Borland IDE

• Go to Bin folder inside BorlandC• Locate BC.exe• Double Click to open IDE

Note: IDE stands for Integrated development environment and it is named as because Editor, Compilor, Debuger, Linker etc. are all integrated in one environment.

Page 4: How to Execute first program in Borland C++. Install Borland C++ Download Borland C++ from LMS –  rland%20C++%20V3.1.zip

This is the BorlandC IDE. Click on File menu then choose New to create a

new file.

Page 5: How to Execute first program in Borland C++. Install Borland C++ Download Borland C++ from LMS –  rland%20C++%20V3.1.zip

Type in your program here. This is sample

program given in handouts on page 16.

Page 6: How to Execute first program in Borland C++. Install Borland C++ Download Borland C++ from LMS –  rland%20C++%20V3.1.zip

Before compilation, We need to save this

program. click on File menu and then Save

Page 7: How to Execute first program in Borland C++. Install Borland C++ Download Borland C++ from LMS –  rland%20C++%20V3.1.zip

Replace NONAME00.CPP and give it a name as you

wish.

Page 8: How to Execute first program in Borland C++. Install Borland C++ Download Borland C++ from LMS –  rland%20C++%20V3.1.zip

Here I have named it as Ex01.c. It will be save in D:\Borland\BIN folder.

Next you need to compile it to see if there is any

errors.

Page 9: How to Execute first program in Borland C++. Install Borland C++ Download Borland C++ from LMS –  rland%20C++%20V3.1.zip

Click on Compile menu then compile.

Page 10: How to Execute first program in Borland C++. Install Borland C++ Download Borland C++ from LMS –  rland%20C++%20V3.1.zip

This compilation report and it shows that our

program has no errors. Press any key to close

this report.Next we need to Run our

program.

Page 11: How to Execute first program in Borland C++. Install Borland C++ Download Borland C++ from LMS –  rland%20C++%20V3.1.zip

For execution of this program…Click on Run menu then choose Run.

Page 12: How to Execute first program in Borland C++. Install Borland C++ Download Borland C++ from LMS –  rland%20C++%20V3.1.zip

This is the output of our program. It just displays “Hello world” on screen. Press any key to close

this window.

Page 13: How to Execute first program in Borland C++. Install Borland C++ Download Borland C++ from LMS –  rland%20C++%20V3.1.zip

The End

Send your feedback and queries [email protected]