Using Borland C++ Builder
- Computer
- Advanced

- Materials
- Concepts / Topics
The teacher introduces C++ Builder's interface and components, demonstrates how C++ code connects to component events, then guides students as they create an application.
Lesson Purpose
To introduce students to a visual programming environment, specifically Borland's C++ Builder.
Lesson Objectives
- Give students a broad introduction to visual programming environments.
- Students will understand and be able to use visual components and the toolbar.
- Students should be able to integrate existing C++ code into visual applications and create new applications with their code.
Activities
- Explain what visual programming is and how it can be used in rapid application development. Show what the main programming interface of C++ Builder looks like and what the main tools and menus do.
- Introduce the visual components and the functions of several important components, such as buttons, text and text boxes, menus, and boxes. Create a simple example program and include these components to show how they can be used in application windows.
- Discuss how C++ code is used and integrated in C++ Builder. Using the previous example program, show students how to connect events to the components in order to execute C++ code, such as the OnButtonPush event that executes when the user of the application clicks on a button.
- Discuss and demonstrate several more complicated examples of C++ Builder programs. Show students the code and how it was created. Give students a sample programming assignment and assist them as they attempt to create the application.
Summary
Summarize the main points of the lesson and discuss how larger, more complicated programs can be built using the same tools and techniques shown in this lesson.
Teachers.Net · https://teachers.net/lessons/2042.html