C++

C++

 RESULT:

PROGRAMMING AND DATABASE



1.Run the Project

2.Compilation Process
3.Execute the Program


4.Insert Data



5.Result



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++?

C++ (pronounced see plus plus) is a general purpose programming language that is free-form and compiled. It is regarded as an intermediate-level language, as it comprises both high-level and low-level language features. It provides imperative, object-oriented and generic programming features.

C++ is one of the most popular programming languages and is implemented on a wide variety of hardware and operating system platforms. As an efficient performance driven programming language it is used in systems software, application software, device drivers, embedded software, high-performance server and client applications, and entertainment software such as video games. Various entities provide both open source and proprietary C++ compiler software, including the FSF, LLVM, Microsoft and Intel. C++ has influenced many other programming languages, for example, C# and Java.

It was developed by Bjarne Stroustrup starting in 1979 at Bell Labs, C++ was originally named C with Classes, adding object-oriented features, such as classes, and other enhancements to the C programming language. The language was renamed C++ in 1983, as a pun involving the increment operator. It began as enhancements to C, first adding classes, then virtual functions, operator overloading, multiple inheritance, templates and exception handling, alongside changes to the type system and other features.


C++ is standardised by the International Organization for Standardization (ISO), which the latest (and current) having being ratified and published by ISO in September 2011 as ISO/IEC 14882:2011 (informally known as C++11). The C++ programming language was initially standardised in 1998 as ISO/IEC 14882:1998, which was amended by the 2003 technical corrigendum, ISO/IEC 14882:2003. The current standard (C++11) supersedes these, with new features and an enlarged standard library.






No comments:

Post a Comment