C + + Builder Programming Guide 1

Source: Internet
Author: User

Borland C + + Builder (hereinafter referred to as C + + Builder) is a high-performance visual integrated development tool which is introduced by Borland Company following Delphi. C + + Builder has a fast visual development environment: Simply drag the control (Component) onto the form, define its properties, and set its appearance so that the application interface can be built quickly; C + + Builder has more than 100 reusable controls that fully encapsulate the WIN95 common features and are fully scalable, including full support for ActiveX controls, and C + + Builder has all the functionality that a professional C + + development environment can provide: fast, efficient, and flexible compiler optimizations, Step-by-Step connections, CPU perspective, command-line tools, and more. It enables a visual programming environment and the perfect combination of powerful programming languages (C + +). In particular, Borland's newly released C + + Builder 3.0 provides more powerful, Easy-to-use programming tools on visual programming tools than Delphi 3.0, as well as enhanced functionality in C + + languages.

I. Brief introduction of function

1. Make full use of the powerful functions of C + +

C + + Builder optimized 32-bit source code (Native code) compiler based on Borland Company's proven compilation technology, provides a high degree of security, reliability, speed of the compiler optimization method, completely compile the original machine code rather than the middle code, software execution speed greatly improved. During compilation and connection, C + + Builder automatically ignores the unmodified source code and unused functions, thus greatly improving the compilation and connection speed. C + + Builder's CPU perspective tool includes five separate small panels that allow you to have a deep understanding of the running program from within. In addition, C + + Builder provides a command-line tool that is necessary for a professional development environment to help establish C + + programs or to prepare compiled and connected programs for finer control.

C + + Builder can compile all the original code that conforms to the ANSI/ISO standard, support the latest ANSI C++/C language features: Templates, exceptions (exceptions), run type information (Runtime type information) , namespaces, etc., it can also use the standard C + + library and support the Standard Template Library (STL), all previous C++/C original code can not be modified, directly transplanted to C + + Builder environment. C + + Builder fully supports 32-bit long file names, multithreaded programming, and allows programmers to call any Win95 and NT API functions directly.

2. Highly efficient visualization of the development environment

The integrated development Environment (IDE) for C + + Builder provides a visual form designer, a series of visual rapid application development (RAD) tools, such as Object watcher, control board, engineering manager, integration Editor, and debugger, make it easy for programmers to build and manage their own programs and resources.

3. Reusable controls

In object-oriented languages such as Smalltalk, Java, and so on, a class contains data of interest to a particular object and methods that define the behavior of the object, and subclasses are the inheritance of the parent class, adding new methods. The Visual Control Library (VCL) used in C + + Builder also has the same concept, with each object including data members and methods, which the programmer uses to manage the object. VCL is built on the class library structure, taking full advantage of the control's properties and event concepts, each containing not only the common data parts that allow programmers to manage their appearance, but also the part of functions accessed through properties and events.

4. Database development tools and client/server (c/s) connections

C + + Builder, like Delphi, provides a set of database development tools, you can develop a powerful, beautiful interface, convenient database applications. C + + Builder provides an up-to-date database engine BDE, and all the instructions used by the database connection are processed through BDE. For stand-alone databases, C + + Builder can control the reading of database data directly through BDE, while for remote database systems, BDE still needs SQL links or ODBC to read the contents of the database.

The C + + version of builder can connect Oracle, Sybase, MS SQL Server, DB2, Informix, and InterBase databases directly through the 32-bit SQL links drive to establish Enterprise Client/server applications. In addition, C + + Builder provides database-related objects and powerful report generation tools: Reportsmith, which increases the convenience of programming.

C + + Builder provides several tools for using the database, allowing users to directly modify the data in the database, or to execute some directives. Mainly has the SQL explorer,sql monitor,database desktop,form expert and so on, has greatly enhanced the C + + Builder database development function, the concrete usage may refer to the book.

5.Internet Solution

C + + Builder supports key technologies for the Internet by Microsoft, Sun, and Netscape, including Internet standards like ActiveX, CGI, ISAPI, WinInet, NSAPI, and so on. With the Borland Company's Internet Solution package (Internet Solutions Pack), programmers use the RAD tools of C + + builder (dragging an Internet control onto a form, Then set its properties and events to easily establish a C + + Builder Internet application. With ActiveX controls, you can implement your own web browser, manage Internet e-mail, and file transfer for a range of Internet features.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.