How to Use The Borland C++ Compiler Version 5.02 to create ...

How to Use The Borland C++ Compiler Version 5.02 to create ...

How to Use The Borland C++ Compiler Version 5.02 to create C++ and C programs annedawson.com Start up the Borland software Double click on the Borland C++ icon on the desktop:

If the icon is not on the desktop, click on the Start button and select Programs from the list of options. From the programs list, click on Borland C++ 5.02 then Borland C+ +. //// 2 ////

3 You should then see the following screen. Dont worry if the screen is not exactly like yours but it should have the Borland C++ icon and title in the top left corner. //// 4 Create a new project From the Borland C++ main screen,

click on File then New then Project to get to the New Target window: //// 5 In the Project Path and Name: text box, type: c:\temp\myprogs\prog1.ide Notice that the Target Name is automatically taken from what you type.

//// In the Target Type: text box click on Application[.exe] to highlight it. In the Platform: text box select Win32.

In the Target Model: text box select Console. The remaining settings are as shown in the New Target window above and are not changed Now click on the Advanced button 6

Click in the .def and .rc boxes to deselect them so that the Advanced Options window looks like this: Now click on the OK button of the Advanced Options window. //// Then click on the OK

button of the New Target window to complete the setup for the new project. You will then see the 7 The project is called prog1. The project file is prog1.ide in the c:\temp\myprogs directory. Within this project is a C++ (or C) file : prog1.cpp (or prog1.c). This is the source code file, the one that contains the text of the C++

or C program. prog1.exe is the name of the executable file to be generated from prog1.cpp (or prog1.c). Now click on the filename prog1.cpp ( or prog1.c) to highlight it, and press the Enter key to open the file. You will see a code window for C:\temp\cpp\prog1.cpp (or prog1.c). The code window is where you to enter the text of your program. //// 8 //// 9

Save the project In the title bar of the code window, there is a * after the source code file name. This means that the file has yet to be saved. To save the file, Click on File then Save.

//// 10 or //// 11 Compile the project To compile your source code (convert it to machine code) click on Project, and then Compile. If you

have typed everything in correctly, you should see the following window (or a similar window for prog1.c). or //// 12 Click on OK. If there are any errors reported in this window, the program will not be

compiled to machine code. You will need to find and correct the error, then compile again. //// 13 Run (execute) project Once you have 0 errors, you then have code which will run, once it

is linked to the necessary library files. To compile, link and run a program which you know has zero errors, you can simply click on the lightening bolt button in the tool bar (the sixth button from the left which has a yellow wavy line on it). ////

or 14 You will see the following window //// 15

Recently Viewed Presentations

  • DENMARK HIGH SCHOOL OPENING FALL 2018 645 MULLINAX

    DENMARK HIGH SCHOOL OPENING FALL 2018 645 MULLINAX

    sixth traditional high school . in the district. Named . after Dr. Leila . Denmark "Every Child should have a chance-do what you can to help" Located . between Fowler and Mullinax roads south of Midway ES, and will ....
  • "The Scarlet Ibis" By James Hurst

    "The Scarlet Ibis" By James Hurst

    "The Scarlet Ibis" By James Hurst The narrator is Doodle's older brother. Doodle is a child with physical disabilities and severe health problems. Predict how the relationship between the brothers might affect the story. "At times I was mean to...
  • Vineyard, Grape and Wine elaboration in European Union ...

    Vineyard, Grape and Wine elaboration in European Union ...

    salient caracters and first results the French experience ... can we conclude with a structural index? Girardin P. & al., INRA 2004 Score on the biodiversity of wine farms Girardin P. & al., INRA 2004 Score on the use of...
  • After High School Education Preparation Unit

    After High School Education Preparation Unit

    BSU. Bulldog Football. Bulldog Wrestling. C.R.O.S.S. Cheer. Class of 2015- Seniors. Class of 2016- Juniors. Class of 2017- Sophomores. Class of 2018- Freshmen. Color Guard. Cross Country. CSF. Diamond Club. Drama Club. FBLA ( Future Business Leaders) FCA (Fellowship of...
  • Story Of My Life - Tangipahoa Parish School Board

    Story Of My Life - Tangipahoa Parish School Board

    But baby running after you is like chasing the clouds. The story of my life . I take her home . ... This sentence in the song is just a symbol of their past, meaning that they must have something...
  • AEBG Outcomes and Services

    AEBG Outcomes and Services

    Measurable Skills Gain - by Educational Functional Level. Students who complete a CTE a workforce preparation course or training milestone or occupational skills gain. Student Transition to Post-Secondary and/or Adult Secondary Education. Students who earn a high school diploma or...
  • fORESHADOWING - Ms. Georgopoulos

    fORESHADOWING - Ms. Georgopoulos

    Foreshadowing Foreshadowing Tip often appears at the beginning of a story or chapter Let's Chat Share with the class an example of foreshadowing from a book or short story you have read or a movie story you have seen Symbolism...
  • Building Multi Tenant Applications in Java v1.0

    Building Multi Tenant Applications in Java v1.0

    Business Logic & Database Customization Spring Reference: Multi Tenant Data Architecture, Frederick Chong, Gianpaolo Carraro, and Roger Wolter Microsoft Corporation * Scalability Data In case of a RDBMS, Shared Database - Shared Schema use partitioning by tenantid (SHARD) Give a...