130 likes | 302 Views
How to Execute first program in Borland C++. 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
E N D
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
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.
This is the BorlandC IDE. Click on File menu then choose New to create a new file.
Type in your program here. This is sample program given in handouts on page 16.
Before compilation, We need to save this program. click on File menu and then Save
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.
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.
For execution of this program…Click on Run menu then choose Run.
This is the output of our program. It just displays “Hello world” on screen. Press any key to close this window.
The End Send your feedback and queries cs609@vu.edu.pk