Want to know what C++ really is? ..::\\Read//::..
Page 1 of 1
Want to know what C++ really is? ..::\Read//::..
What Is C++? Read This To Find Out! =)
~CREDITS~
My self for having the knowledge of this.
~Web-Definitions~
C++, pronounced "C plus plus," is a programming language that was built off the C language. The syntax of C++ is nearly identical to C, but it has object-oriented features, which allow the programmer to create objects within the code. This makes programming easier, more efficient, and some would even say, more fun. Because of the power and flexibility of the language, most software programs today are written in C++.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
~Info~
C++ ("C Plus Plus", pronounced /ˌsiːˌplʌsˈplʌs/) is a general-purpose programming language. It is regarded as a middle-level language, as it comprises a combination of both high-level and low-level language features.[1] It was developed by Bjarne Stroustrup starting in 1979 at Bell Labs as an enhancement to the C programming language and originally named "C with Classes". It was renamed to C++ in 1983.
C++ is widely used in the software industry. Some of its application domains include systems software, application software, device drivers, embedded software, high-performance server and client applications, and entertainment software such as video games. Several groups provide both free and proprietary C++ compiler software, including the GNU Project, Microsoft, Intel, Borland and others.
The language began as enhancements to C, first adding classes, then virtual functions, operator overloading, multiple inheritance, templates, and exception handling among other features. After years of development, the C++ programming language standard was ratified in 1998 as ISO/IEC 14882:1998. That standard is still current, but is amended by the 2003 technical corrigendum, ISO/IEC 14882:2003. The next standard version (known informally as C++0x) is in development.
C++ is a statically typed, free-form, multi-paradigm, compiled language where compilation creates machine code for a target machine hardware.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
~Info 2~
C++ is an object-oriented programming (OOP) language that is viewed by many as the best language for creating large-scale applications. C++ is a superset of the C language. A related programming language, Java, is based on C++ but optimized for the distribution of program objects in a network such as the Internet. Java is somewhat simpler and easier to learn than C++ and has characteristics that give it other advantages over C++. However, both languages require a considerable amount of study.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
~Info 3~
What is C++?
C++ is a object-oriented programming language developed by Bjourne Stroustrup at Bell Laboratories during 1983-1985 as a superset of the C language. C++ to date is one of the most widely used, powerful programming languages. It perhaps surpasses any other programming language in performance even today, with other object oriented languages around like Java and C#.
C++ is a standard and a compiled language. It was developed in an effort to improve the quality of code by writing extensible and reusable code. C++ can also be loosely described as C with classes, that inherently maintains the efficiency of C while making the code more object oriented and modular. C++ performs slower than C however it is still the best choice amongst other OO language both while writing large scale applications or personal applications.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
~Learn-cplusplus~
History of C++
During the 60s, while computers were still in an early stage of development, many new programming languages appeared. Among them, ALGOL 60, was developed as an alternative to FORTRAN but taking from it some concepts of structured programming which would later inspire most procedural languages, such as CPL and its succesors (like C++). ALGOL 68 also directly influenced the development of data types in C. Nevertheless ALGOL was an non-specific language and its abstraction made it impractical to solve most commercial tasks.
In 1963 the CPL (Combined Programming language) appeared with the idea of being more specific for concrete programming tasks of that time than ALGOL or FORTRAN. Nevertheless this same specificity made it a big language and, therefore, difficult to learn and implement.
In 1967, Martin Richards developed the BCPL (Basic Combined Programming Language), that signified a simplification of CPL but kept most important features the language offered. Although it too was an abstract and somewhat large language.
In 1970, Ken Thompson, immersed in the development of UNIX at Bell Labs, created the B language. It was a port of BCPL for a specific machine and system (DEC PDP-7 and UNIX), and was adapted to his particular taste and necessities. The final result was an even greater simplification of CPL, although dependent on the system. It had great limitations, like it did not compile to executable code but threaded-code, which generates slower code in execution, and therefore was inadequate for the development of an operating system. Therefore, from 1971, Denis Ritchie, from the Bell Labs team, began the development of a B compiler which, among other things, was able to generate executable code directly. This "New B", finally called C, introduced in addition, some other new concepts to the language like data types (char).
In 1973, Denis Ritchie, had developed the basis of C. The inclusion of types, its handling, as well as the improvement of arrays and pointers, along with the later demonstrated capacity of portability without becoming a high-level language, contributed to the expansion of the C language. It was established with the book "The C Programming Language" by Brian Kernighan and Denis Ritchie, known as the White Book, and that served as de facto standard until the publication of formal ANSI standard (ANSI X3J11 committee) in 1989.
In 1980, Bjarne Stroustrup, from Bell labs, began the development of the C++ language, that would receive formally this name at the end of 1983, when its first manual was going to be published. In October 1985, the first commercial release of the language appeared as well as the first edition of the book "The C++ Programming Language" by Bjarne Stroustrup.
During the 80s, the C++ language was being refined until it became a language with its own personality. All that with very few losses of compatibility with the code with C, and without resigning to its most important characteristics. In fact, the ANSI standard for the C language published in 1989 took good part of the contributions of C++ to structured programming.
From 1990 on, ANSI committee X3J16 began the development of a specific standard for C++. In the period elapsed until the publication of the standard in 1998, C++ lived a great expansion in its use and today is the preferred language to develop professional applications on all platforms.
C++ has been evolving, and a new version of the standard, c++09, is being developed to be published before the end of 2009, with several new features.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
~Learn-cplusplus~
A brief description
ProgramsNowadays computers are able to perform many different tasks, from simple mathematical operations to sophisticated animated simulations. But the computer does not create these these tasks by itself, these are performed following a series of predefined instructions that conform what we call a program.
A computer does not have enough creativity to make tasks which it has not been programmed for, so it can only follow the instructions of programs which it has been programmed to run. Those in charge of generating programs so that the computers may perform new tasks are known as programmers or coders, who for that purpose use a programming language.
Programming languages A programming language is a set of instructions and a series of lexical conventions specifically designed to order computers what to do.
When choosing a programming language to make a project, many different considerations can be taken. First, one must decide what is known as the level of the programming language. The level determines how near to the hardware the programming language is. In the lower level languages, instructions are written thinking directly on interfacing with hardware, while in "high level" ones a more abstract or conceptual code is written.
Generally, high level code is more portable, that means it can work in more different machines with a smaller number of modifications, whereas a low level language is limited by the peculiarides of the hardware which it was written for. Nevertheless, the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.
A higher or lower level of programming is to be chosen for a specific project depending on the type of program that is being developed. For example, when a hardware driver is developed for an operating system obviously a very low level is used for programming. While when big applications are developed usually a higher level is chosen, or a combination of critic parts written in low level languages and others in higher ones.
Although there are languages that are clearly thought to be low level, like Assembly, whose instruction sets are adapted to each machine the code is made for, and other languages are inherently high level, like the Java, that is designed to be totally independent of the platform where is going to run. The C++ language is in a middle position, since it can interact directly with the hardware almost with no limitations, and can as well abstract lower layers and work like one of the most powerful high level languages.
Why C++?C++ has certain characteristics over other programming languages. The most remarkable ones are:
Object-oriented programming
The possibility to orientate programming to objects allows the programmer to design applications from a point of view more like a communication between objects rather than on a structured sequence of code. In addition it allows a greater reusability of code in a more logical and productive way.
Portability
You can practically compile the same C++ code in almost any type of computer and operating system without making any changes. C++ is the most used and ported programming languages in the world.
Brevity
Code written in C++ is very short in comparison with other languages, since the use of special characters is preferred to key words, saving some effort to the programmer (and prolonging the life of our keyboards!).
Modular programming
An application's body in C++ can be made up of several source code files that are compiled separately and then linked together. Saving time since it is not necessary to recompile the complete application when making a single change but only the file that contains it. In addition, this characteristic allows to link C++ code with code produced in other languages, such as Assembler or C.
C Compatibility
C++ is backwards compatible with the C language. Any code written in C can easily be included in a C++ program without making any change.
Speed
The resulting code from a C++ compilation is very efficient, due indeed to its duality as high-level and low-level language and to the reduced size of the language itself.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
~Learn-cplusplus~
C/C++ Keywords
C/C++ Keywords
Display all entries for C/C++ Keywords on one page:
asm
insert an assembly instruction
auto
declare a local variable
bool
declare a boolean variable
break
break out of a loop
case
a block of code in a switch statement
catch
handles exceptions from throw
char
declare a character variable
class
declare a class
const
declare immutable data or functions that do not change data
const_cast
cast from const variables
continue
bypass iterations of a loop
default
default handler in a case statement
delete
make memory available
do
looping construct
double
declare a double precision floating-point variable
dynamic_cast
perform runtime casts
else
alternate case for an if statement
enum
create enumeration types
explicit
only use constructors when they exactly match
export
allows template definitions to be separated from their declarations
extern
tell the compiler about variables defined elsewhere
false
the boolean value of false
float
declare a floating-point variable
for
looping construct
friend
grant non-member function access to private data
goto
jump to a different part of the program
if
execute code based off of the result of a test
inline
optimize calls to short functions
int
declare a integer variable
long
declare a long integer variable
mutable
override a const variable
namespace
partition the global namespace by defining a scope
new
allocate dynamic memory for a new variable
operator
create overloaded operator functions
private
declare private members of a class
protected
declare protected members of a class
public
declare public members of a class
register
request that a variable be optimized for speed
reinterpret_cast
change the type of a variable
return
return from a function
short
declare a short integer variable
signed
modify variable type declarations
sizeof
return the size of a variable or type
static
create permanent storage for a variable
static_cast
perform a nonpolymorphic cast
struct
define a new structure
switch
execute code based off of different possible values for a variable
template
create generic functions
this
a pointer to the current object
throw
throws an exception
true
the boolean value of true
try
execute code that can throw an exception
typedef
create a new type name from an existing type
typeid
describes an object
typename
declare a class or undefined type
union
a structure that assigns multiple variables to the same memory location
unsigned
declare an unsigned integer variable
using
import complete or partial namespaces into the current scope
virtual
create a function that can be overridden by a derived class
void
declare functions or data with no associated data type
volatile
warn the compiler about variables that can be modified unexpectedly
wchar_t
declare a wide-character variable
while
looping construct
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
~Other Misc C++ Info~
A multi-paradigm high-level compiled programming language developed from C,
An object-oriented superset of C developed primarily by Bjarne Stroustrup at AT&T Bell Laboratories in 1986,
An object oriented language that can be compiled and run on a server via the source file of sample.c and then compiled into an executable file,
C++ ,最初叫做“带类的 C ”,是由 Bjarne Stroustrup 在 Bell 实验室发展的一个高级程序设计语言。C++ 添加面向对象的特征到它的处理器中,C. C++ 是一种静态类型的自由形式的多范型语言,支持程序设计、数据抽象、面向对象的程序设计和一般的 程序设计,
Le C++ est un langage de programmation permettant la programmation sous de multiples paradigmes comme la programmation procédurale, la programmation orientée objet et la programmation générique. C++ est actuellement le 3e langage le plus utilisé au monde1 (le 1er si on le regroupe avec le C). Le langage C++ n'appartient à personne et par conséquent n'importe qui peut l'utiliser sans besoin d'une autorisation ou obligation de payer pour avoir le droit d'utilisation,
C++ ist eine von der ISO standardisierte höhere Programmiersprache. Sie wurde in den 1980er Jahren von Bjarne Stroustrup bei AT&T als Erweiterung der Programmiersprache C entwickelt. C++ wurde als Mehrzwecksprache konzipiert und unterstützt mehrere Programmierparadigmen, wie die objektorientierte, generische und prozedurale Programmierung. C++ ermöglicht sowohl die effiziente und maschinennahe Programmierung, als auch eine Programmierung auf hohem Abstraktionsniveau,
Il C++ è un linguaggio di programmazione orientato agli oggetti, con tipizzazione statica. È stato sviluppato (in origine col nome di "C con classi") da Bjarne Stroustrup ai Bell Labs nel 1983 come un miglioramento del linguaggio C. Il miglioramento iniziale è stata l'aggiunta delle classi, seguito, tra le altre cose, dalle funzioni virtuali, overloading degli operatori, ereditarietà multipla, template e gestione delle eccezioni.
È possibile scrivere programmi C validi anche come programmi C++, anche se il C non è un sottoinsieme del C++ nel senso più stretto della parola. Il C++ fu standardizzato nel 1998 (ISO/IEC 14882:1998 "Information Technology - Programming Languages - C++", aggiornato nel 2003). Una nuova versione dello standard (nota informalmente come C++0x) è in fase di preparazione.
In aggiunta al supporto alla programmazione orientata agli oggetti, il C++ è distinto dal C per il suo supporto alla programmazione generica e alla metaprogrammazione attraverso l'uso dei template.
Il C++ è molto diffuso e apprezzato, ma raramente è usato al massimo delle sue potenzialità: la semantica del C++ è molto ricca di dettagli e sfumature che condizionano il comportamento del codice, e che molto spesso i compilatori implementano in maniera scorretta o incompleta: molte delle caratteristiche dello standard ISO del linguaggio non sono ancora implementate nei compilatori attuali, anche se la situazione sta migliorando lentamente. La grande ricchezza semantica del C++, insieme alle librerie che lo accompagnano, lo rende un linguaggio estremamente espressivo e potente, ma che richiede molto tempo per venire appreso e padroneggiato completamente. Inoltre a causa della variabilità del comportamento dei compilatori nel maneggiare le funzioni più avanzate del linguaggio, i programmatori C++ che scelgono di farne uso si rivolgono ad un'architettura (processore, sistema operativo e compilatore) particolare sacrificando la portabilità su altre piattaforme.
Come il C, anche il C++ ha una libreria standard. Di particolare importanza è la Standard Template Library (STL), la parte della libreria standard che utilizza i template per implementare contenitori generici, come vettori, code, array associativi, e così via. La programmazione ne risulta molto semplificata, al prezzo di un gran lavoro del compilatore per interpretare i complessi template.
Alcuni compilatori per C++ sono: GCC (disponibile per molte piattaforme diverse), MinGW (porting di GCC per Windows) e DJGPP. Oltre a questi ci sono i compilatori commerciali come VisualC++ e il compilatore di Borland C++ Builder,
Objectgeörienteerde versie van C, ontwikkeld rond 1985 door Bjarne Stroustrup binnen AT&T. C++ is een hybride taal: je kunt er zowel imperatief (procedureel) als objectgeoriënteerd in werken. Andere objectgeoriënteerde talen zijn Smalltalk, Eiffel en Java.
Си++ (англ. C++) — компилируемый строго типизированный язык программирования общего назначения. Поддерживает разные парадигмы программирования: процедурную, обобщённую, функциональную; наибольшее внимание уделено поддержке объектно-ориентированного программирования.
Название «Си++» происходит от Си, в котором унарный оператор ++ обозначает инкремент переменной.
В 1990-х годах язык стал одним из наиболее широко применяемых языков программирования общего назначения.
При создании Си++ стремились сохранить совместимость с языком Си. Большинство программ на Си будут исправно работать и с компилятором Си++. Си++ имеет синтаксис, основанный на синтаксисе Си.
C++ es un lenguaje de programación diseñado a mediados de los años 1980 por Bjarne Stroustrup. La intención de su creación fue el extender al exitoso lenguaje de programación C con mecanismos que permitan la manipulación de objetos. En ese sentido, desde el punto de vista de los lenguajes orientados a objetos, el C++ es un lenguaje híbrido.
Posteriormente se añadieron facilidades de programación genérica, que se sumó a los otros dos paradigmas que ya estaban admitidos (programación estructurada y la programación orientada a objetos). Por esto se suele decir que el C++ es un lenguaje multiparadigma.
Actualmente existe un estándar, denominado ISO C++, al que se han adherido la mayoría de los fabricantes de compiladores más modernos. Existen también algunos intérpretes, tales como ROOT (enlace externo).
Una particularidad del C++ es la posibilidad de redefinir los operadores (sobrecarga de operadores), y de poder crear nuevos tipos que se comporten como tipos fundamentales.
C++ permite trabajar tanto a alto como a bajo nivel.
El nombre C++ fue propuesto por Rick Mascitti en el año 1983, cuando el lenguaje fue utilizado por primera vez fuera de un laboratorio científico. Antes se había usado el nombre "C con clases". En C++, la expresión "C++" significa "incremento de C" y se refiere a que C++ es una extensión de C.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
Well, that's it, I hope you know what C++ is now, haha!
All of the Credits are labeled above the categories so lol
If you don't know what C++ is YET, than read it again because, if you have haven't read the whole thing, you need to do so, or at least until you know, lol.
So yea, Thx for Reading, (or skipping through it), Take the time to leave a quick comment, if you want the sources just PM me. Thanks Again. ~ Kyle
~CREDITS~
My self for having the knowledge of this.
~Web-Definitions~
C++, pronounced "C plus plus," is a programming language that was built off the C language. The syntax of C++ is nearly identical to C, but it has object-oriented features, which allow the programmer to create objects within the code. This makes programming easier, more efficient, and some would even say, more fun. Because of the power and flexibility of the language, most software programs today are written in C++.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
~Info~
C++ ("C Plus Plus", pronounced /ˌsiːˌplʌsˈplʌs/) is a general-purpose programming language. It is regarded as a middle-level language, as it comprises a combination of both high-level and low-level language features.[1] It was developed by Bjarne Stroustrup starting in 1979 at Bell Labs as an enhancement to the C programming language and originally named "C with Classes". It was renamed to C++ in 1983.
C++ is widely used in the software industry. Some of its application domains include systems software, application software, device drivers, embedded software, high-performance server and client applications, and entertainment software such as video games. Several groups provide both free and proprietary C++ compiler software, including the GNU Project, Microsoft, Intel, Borland and others.
The language began as enhancements to C, first adding classes, then virtual functions, operator overloading, multiple inheritance, templates, and exception handling among other features. After years of development, the C++ programming language standard was ratified in 1998 as ISO/IEC 14882:1998. That standard is still current, but is amended by the 2003 technical corrigendum, ISO/IEC 14882:2003. The next standard version (known informally as C++0x) is in development.
C++ is a statically typed, free-form, multi-paradigm, compiled language where compilation creates machine code for a target machine hardware.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
~Info 2~
C++ is an object-oriented programming (OOP) language that is viewed by many as the best language for creating large-scale applications. C++ is a superset of the C language. A related programming language, Java, is based on C++ but optimized for the distribution of program objects in a network such as the Internet. Java is somewhat simpler and easier to learn than C++ and has characteristics that give it other advantages over C++. However, both languages require a considerable amount of study.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
~Info 3~
What is C++?
C++ is a object-oriented programming language developed by Bjourne Stroustrup at Bell Laboratories during 1983-1985 as a superset of the C language. C++ to date is one of the most widely used, powerful programming languages. It perhaps surpasses any other programming language in performance even today, with other object oriented languages around like Java and C#.
C++ is a standard and a compiled language. It was developed in an effort to improve the quality of code by writing extensible and reusable code. C++ can also be loosely described as C with classes, that inherently maintains the efficiency of C while making the code more object oriented and modular. C++ performs slower than C however it is still the best choice amongst other OO language both while writing large scale applications or personal applications.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
~Learn-cplusplus~
History of C++
During the 60s, while computers were still in an early stage of development, many new programming languages appeared. Among them, ALGOL 60, was developed as an alternative to FORTRAN but taking from it some concepts of structured programming which would later inspire most procedural languages, such as CPL and its succesors (like C++). ALGOL 68 also directly influenced the development of data types in C. Nevertheless ALGOL was an non-specific language and its abstraction made it impractical to solve most commercial tasks.
In 1963 the CPL (Combined Programming language) appeared with the idea of being more specific for concrete programming tasks of that time than ALGOL or FORTRAN. Nevertheless this same specificity made it a big language and, therefore, difficult to learn and implement.
In 1967, Martin Richards developed the BCPL (Basic Combined Programming Language), that signified a simplification of CPL but kept most important features the language offered. Although it too was an abstract and somewhat large language.
In 1970, Ken Thompson, immersed in the development of UNIX at Bell Labs, created the B language. It was a port of BCPL for a specific machine and system (DEC PDP-7 and UNIX), and was adapted to his particular taste and necessities. The final result was an even greater simplification of CPL, although dependent on the system. It had great limitations, like it did not compile to executable code but threaded-code, which generates slower code in execution, and therefore was inadequate for the development of an operating system. Therefore, from 1971, Denis Ritchie, from the Bell Labs team, began the development of a B compiler which, among other things, was able to generate executable code directly. This "New B", finally called C, introduced in addition, some other new concepts to the language like data types (char).
In 1973, Denis Ritchie, had developed the basis of C. The inclusion of types, its handling, as well as the improvement of arrays and pointers, along with the later demonstrated capacity of portability without becoming a high-level language, contributed to the expansion of the C language. It was established with the book "The C Programming Language" by Brian Kernighan and Denis Ritchie, known as the White Book, and that served as de facto standard until the publication of formal ANSI standard (ANSI X3J11 committee) in 1989.
In 1980, Bjarne Stroustrup, from Bell labs, began the development of the C++ language, that would receive formally this name at the end of 1983, when its first manual was going to be published. In October 1985, the first commercial release of the language appeared as well as the first edition of the book "The C++ Programming Language" by Bjarne Stroustrup.
During the 80s, the C++ language was being refined until it became a language with its own personality. All that with very few losses of compatibility with the code with C, and without resigning to its most important characteristics. In fact, the ANSI standard for the C language published in 1989 took good part of the contributions of C++ to structured programming.
From 1990 on, ANSI committee X3J16 began the development of a specific standard for C++. In the period elapsed until the publication of the standard in 1998, C++ lived a great expansion in its use and today is the preferred language to develop professional applications on all platforms.
C++ has been evolving, and a new version of the standard, c++09, is being developed to be published before the end of 2009, with several new features.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
~Learn-cplusplus~
A brief description
ProgramsNowadays computers are able to perform many different tasks, from simple mathematical operations to sophisticated animated simulations. But the computer does not create these these tasks by itself, these are performed following a series of predefined instructions that conform what we call a program.
A computer does not have enough creativity to make tasks which it has not been programmed for, so it can only follow the instructions of programs which it has been programmed to run. Those in charge of generating programs so that the computers may perform new tasks are known as programmers or coders, who for that purpose use a programming language.
Programming languages A programming language is a set of instructions and a series of lexical conventions specifically designed to order computers what to do.
When choosing a programming language to make a project, many different considerations can be taken. First, one must decide what is known as the level of the programming language. The level determines how near to the hardware the programming language is. In the lower level languages, instructions are written thinking directly on interfacing with hardware, while in "high level" ones a more abstract or conceptual code is written.
Generally, high level code is more portable, that means it can work in more different machines with a smaller number of modifications, whereas a low level language is limited by the peculiarides of the hardware which it was written for. Nevertheless, the advantage of low level code is that it is usually faster due to the fact that it is indeed written taking advantage of the possibilities of a specific machine.
A higher or lower level of programming is to be chosen for a specific project depending on the type of program that is being developed. For example, when a hardware driver is developed for an operating system obviously a very low level is used for programming. While when big applications are developed usually a higher level is chosen, or a combination of critic parts written in low level languages and others in higher ones.
Although there are languages that are clearly thought to be low level, like Assembly, whose instruction sets are adapted to each machine the code is made for, and other languages are inherently high level, like the Java, that is designed to be totally independent of the platform where is going to run. The C++ language is in a middle position, since it can interact directly with the hardware almost with no limitations, and can as well abstract lower layers and work like one of the most powerful high level languages.
Why C++?C++ has certain characteristics over other programming languages. The most remarkable ones are:
Object-oriented programming
The possibility to orientate programming to objects allows the programmer to design applications from a point of view more like a communication between objects rather than on a structured sequence of code. In addition it allows a greater reusability of code in a more logical and productive way.
Portability
You can practically compile the same C++ code in almost any type of computer and operating system without making any changes. C++ is the most used and ported programming languages in the world.
Brevity
Code written in C++ is very short in comparison with other languages, since the use of special characters is preferred to key words, saving some effort to the programmer (and prolonging the life of our keyboards!).
Modular programming
An application's body in C++ can be made up of several source code files that are compiled separately and then linked together. Saving time since it is not necessary to recompile the complete application when making a single change but only the file that contains it. In addition, this characteristic allows to link C++ code with code produced in other languages, such as Assembler or C.
C Compatibility
C++ is backwards compatible with the C language. Any code written in C can easily be included in a C++ program without making any change.
Speed
The resulting code from a C++ compilation is very efficient, due indeed to its duality as high-level and low-level language and to the reduced size of the language itself.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
~Learn-cplusplus~
C/C++ Keywords
C/C++ Keywords
Display all entries for C/C++ Keywords on one page:
asm
insert an assembly instruction
auto
declare a local variable
bool
declare a boolean variable
break
break out of a loop
case
a block of code in a switch statement
catch
handles exceptions from throw
char
declare a character variable
class
declare a class
const
declare immutable data or functions that do not change data
const_cast
cast from const variables
continue
bypass iterations of a loop
default
default handler in a case statement
delete
make memory available
do
looping construct
double
declare a double precision floating-point variable
dynamic_cast
perform runtime casts
else
alternate case for an if statement
enum
create enumeration types
explicit
only use constructors when they exactly match
export
allows template definitions to be separated from their declarations
extern
tell the compiler about variables defined elsewhere
false
the boolean value of false
float
declare a floating-point variable
for
looping construct
friend
grant non-member function access to private data
goto
jump to a different part of the program
if
execute code based off of the result of a test
inline
optimize calls to short functions
int
declare a integer variable
long
declare a long integer variable
mutable
override a const variable
namespace
partition the global namespace by defining a scope
new
allocate dynamic memory for a new variable
operator
create overloaded operator functions
private
declare private members of a class
protected
declare protected members of a class
public
declare public members of a class
register
request that a variable be optimized for speed
reinterpret_cast
change the type of a variable
return
return from a function
short
declare a short integer variable
signed
modify variable type declarations
sizeof
return the size of a variable or type
static
create permanent storage for a variable
static_cast
perform a nonpolymorphic cast
struct
define a new structure
switch
execute code based off of different possible values for a variable
template
create generic functions
this
a pointer to the current object
throw
throws an exception
true
the boolean value of true
try
execute code that can throw an exception
typedef
create a new type name from an existing type
typeid
describes an object
typename
declare a class or undefined type
union
a structure that assigns multiple variables to the same memory location
unsigned
declare an unsigned integer variable
using
import complete or partial namespaces into the current scope
virtual
create a function that can be overridden by a derived class
void
declare functions or data with no associated data type
volatile
warn the compiler about variables that can be modified unexpectedly
wchar_t
declare a wide-character variable
while
looping construct
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
~Other Misc C++ Info~
A multi-paradigm high-level compiled programming language developed from C,
An object-oriented superset of C developed primarily by Bjarne Stroustrup at AT&T Bell Laboratories in 1986,
An object oriented language that can be compiled and run on a server via the source file of sample.c and then compiled into an executable file,
C++ ,最初叫做“带类的 C ”,是由 Bjarne Stroustrup 在 Bell 实验室发展的一个高级程序设计语言。C++ 添加面向对象的特征到它的处理器中,C. C++ 是一种静态类型的自由形式的多范型语言,支持程序设计、数据抽象、面向对象的程序设计和一般的 程序设计,
Le C++ est un langage de programmation permettant la programmation sous de multiples paradigmes comme la programmation procédurale, la programmation orientée objet et la programmation générique. C++ est actuellement le 3e langage le plus utilisé au monde1 (le 1er si on le regroupe avec le C). Le langage C++ n'appartient à personne et par conséquent n'importe qui peut l'utiliser sans besoin d'une autorisation ou obligation de payer pour avoir le droit d'utilisation,
C++ ist eine von der ISO standardisierte höhere Programmiersprache. Sie wurde in den 1980er Jahren von Bjarne Stroustrup bei AT&T als Erweiterung der Programmiersprache C entwickelt. C++ wurde als Mehrzwecksprache konzipiert und unterstützt mehrere Programmierparadigmen, wie die objektorientierte, generische und prozedurale Programmierung. C++ ermöglicht sowohl die effiziente und maschinennahe Programmierung, als auch eine Programmierung auf hohem Abstraktionsniveau,
Il C++ è un linguaggio di programmazione orientato agli oggetti, con tipizzazione statica. È stato sviluppato (in origine col nome di "C con classi") da Bjarne Stroustrup ai Bell Labs nel 1983 come un miglioramento del linguaggio C. Il miglioramento iniziale è stata l'aggiunta delle classi, seguito, tra le altre cose, dalle funzioni virtuali, overloading degli operatori, ereditarietà multipla, template e gestione delle eccezioni.
È possibile scrivere programmi C validi anche come programmi C++, anche se il C non è un sottoinsieme del C++ nel senso più stretto della parola. Il C++ fu standardizzato nel 1998 (ISO/IEC 14882:1998 "Information Technology - Programming Languages - C++", aggiornato nel 2003). Una nuova versione dello standard (nota informalmente come C++0x) è in fase di preparazione.
In aggiunta al supporto alla programmazione orientata agli oggetti, il C++ è distinto dal C per il suo supporto alla programmazione generica e alla metaprogrammazione attraverso l'uso dei template.
Il C++ è molto diffuso e apprezzato, ma raramente è usato al massimo delle sue potenzialità: la semantica del C++ è molto ricca di dettagli e sfumature che condizionano il comportamento del codice, e che molto spesso i compilatori implementano in maniera scorretta o incompleta: molte delle caratteristiche dello standard ISO del linguaggio non sono ancora implementate nei compilatori attuali, anche se la situazione sta migliorando lentamente. La grande ricchezza semantica del C++, insieme alle librerie che lo accompagnano, lo rende un linguaggio estremamente espressivo e potente, ma che richiede molto tempo per venire appreso e padroneggiato completamente. Inoltre a causa della variabilità del comportamento dei compilatori nel maneggiare le funzioni più avanzate del linguaggio, i programmatori C++ che scelgono di farne uso si rivolgono ad un'architettura (processore, sistema operativo e compilatore) particolare sacrificando la portabilità su altre piattaforme.
Come il C, anche il C++ ha una libreria standard. Di particolare importanza è la Standard Template Library (STL), la parte della libreria standard che utilizza i template per implementare contenitori generici, come vettori, code, array associativi, e così via. La programmazione ne risulta molto semplificata, al prezzo di un gran lavoro del compilatore per interpretare i complessi template.
Alcuni compilatori per C++ sono: GCC (disponibile per molte piattaforme diverse), MinGW (porting di GCC per Windows) e DJGPP. Oltre a questi ci sono i compilatori commerciali come VisualC++ e il compilatore di Borland C++ Builder,
Objectgeörienteerde versie van C, ontwikkeld rond 1985 door Bjarne Stroustrup binnen AT&T. C++ is een hybride taal: je kunt er zowel imperatief (procedureel) als objectgeoriënteerd in werken. Andere objectgeoriënteerde talen zijn Smalltalk, Eiffel en Java.
Си++ (англ. C++) — компилируемый строго типизированный язык программирования общего назначения. Поддерживает разные парадигмы программирования: процедурную, обобщённую, функциональную; наибольшее внимание уделено поддержке объектно-ориентированного программирования.
Название «Си++» происходит от Си, в котором унарный оператор ++ обозначает инкремент переменной.
В 1990-х годах язык стал одним из наиболее широко применяемых языков программирования общего назначения.
При создании Си++ стремились сохранить совместимость с языком Си. Большинство программ на Си будут исправно работать и с компилятором Си++. Си++ имеет синтаксис, основанный на синтаксисе Си.
C++ es un lenguaje de programación diseñado a mediados de los años 1980 por Bjarne Stroustrup. La intención de su creación fue el extender al exitoso lenguaje de programación C con mecanismos que permitan la manipulación de objetos. En ese sentido, desde el punto de vista de los lenguajes orientados a objetos, el C++ es un lenguaje híbrido.
Posteriormente se añadieron facilidades de programación genérica, que se sumó a los otros dos paradigmas que ya estaban admitidos (programación estructurada y la programación orientada a objetos). Por esto se suele decir que el C++ es un lenguaje multiparadigma.
Actualmente existe un estándar, denominado ISO C++, al que se han adherido la mayoría de los fabricantes de compiladores más modernos. Existen también algunos intérpretes, tales como ROOT (enlace externo).
Una particularidad del C++ es la posibilidad de redefinir los operadores (sobrecarga de operadores), y de poder crear nuevos tipos que se comporten como tipos fundamentales.
C++ permite trabajar tanto a alto como a bajo nivel.
El nombre C++ fue propuesto por Rick Mascitti en el año 1983, cuando el lenguaje fue utilizado por primera vez fuera de un laboratorio científico. Antes se había usado el nombre "C con clases". En C++, la expresión "C++" significa "incremento de C" y se refiere a que C++ es una extensión de C.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
Well, that's it, I hope you know what C++ is now, haha!
All of the Credits are labeled above the categories so lol
If you don't know what C++ is YET, than read it again because, if you have haven't read the whole thing, you need to do so, or at least until you know, lol.
So yea, Thx for Reading, (or skipping through it), Take the time to leave a quick comment, if you want the sources just PM me. Thanks Again. ~ Kyle
Unbelievable- Posts : 37
Join date : 2009-10-15
Age : 29
Similar topics
» {Suggestion} Slim-rs STOP DUPERS.
» EVERYONE PLEASE READ!
» read this!! :)
» must read plz
» READ THIS PLEASE
» EVERYONE PLEASE READ!
» read this!! :)
» must read plz
» READ THIS PLEASE
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum