C++


RESULT :



PROGRAMMING AND DATABASE


1.Run the Project



2.Compilation Process



3.Execute the Program



4.Insert Data


5.Result




1) How To :

a) Compilation Process

Execution in computer and software engineering is the process by which a computer or a virtual machine carries out the instructions of a computer program. The instructions in the program trigger sequences of simple actions on the executing machine. Those actions produce effects according to the semantics of the instructions in the program.
Programs for a computer may execute in a batch process without human interaction, or a user may type commands in an interactive session of an interpreter. In this case the "commands" are simply programs, whose execution is chained together.

The term run is used almost synonymously. A related meaning of both "to run" and "to execute" refers to the specific action of a user starting (or launching or invoking) a program, as in "Please run the ... application."

b) Execute The Program

1.            Compilation: source code ==> relocatable object code (binaries)

2.            Linking: many relocatable binaries (modules plus libraries) ==> one relocatable binary (with all external references satisfied)

3.            Loading: relocatable ==> absolute binary (with all code and data references bound to the addresses occupied in memory)

4.            Execution: control is transferred to the first instruction of the program

5.            At compile time (CT), absolute addresses of variables and statement labels are not known.
In static languages (such as Fortran), absolute addresses are bound at load time (LT).
In block-structured languages, bindings can change at run time (RT)


What Is C++ Programming ?

Ø C++ is an "object oriented" programming language created by Bjarne Stroustrup and released in 1985. It implements "data abstraction" using a concept called "classes", along with other features to allow object-oriented programming.
Ø C++ program are easily reusable and extensible; existing code is easily modifiable without actually having to change the code.
Ø C++ adds a concept called "operator overloading" not seen in the earlier OOP languages and it makes the creation of libraries much cleaner.












Tiada ulasan:

Catat Ulasan