What is C++:History of C++ And How it Work Behind the Scene |
The most common Questions is what is C++ and today we will discuss about it, so C++ is one of the most powerful language in the world Millions of the programmer using C++ programming language for high level and low level application purpose. C++ is not only use for system Software’s Operating System but we can use it for creating designing Applications Like Adobe Photoshop, Illustrator, InDesign and games for computer.
The most important thing to do when learning C++ is to focus on concepts and not get lost in. The purpose of learning a programming language is to become a better programmer; that is, to become more effective at designing and implementing new systems and at maintaining old ones. For this, an appreciation of programming and design techniques is far more
important than an understand of details, that understand comes with time and practice. Therefore C++ is very important language. And we also can say this language is great.
What is C++ Java and C#:
what is C++ java C# |
History of C++ And How it Work Behind the Scene:
These instructions were represented by long strings of ones and zeros. Soon, assemblers were invented to map machine instructions to human-readable and -manageable mnemonics, such as ADD and MOV. In time, higher-level languages evolved, such as BASIC and COBOL. These languages.
Let people work with something approximating words and sentences (referred to as source code), such as Let X = 100. These instructions were then translated into machine language by interpreters and compilers.
An interpreter translates and executes a program as it reads it, turning the program instructions, or source code, directly into actions. A compiler translates source code into an intermediary form. This step is called compiling, and it produces an object file. The compiler then invokes a linker, which combines the object file into an executable program, Because interpreters read the source code as it is written and execute the code on the spot, interpreters can be easier for the programmer to work with. Today, most interpreted programs are referred to as scripts, and the interpreter itself is often called a “script engine.”
What is C++:History of C++ |
Some languages, such as Visual Basic, call the interpreter the runtime library. Other languages, such as the Visual Basic .NET and Java have another component, referred to as a “Virtual Machine” (VM) or a runtime. The VM or runtime is also an interpreter.
However, it is not a source code interpreter that translates human-readable language into computer-dependent machine code. Rather, it interprets and executes a compiled computer-independent “virtual machine language” or intermediary language.
Compilers introduce the extra steps of compiling the source code (which is readable by humans) into object code (which is readable by machines). This extra step might seem inconvenient, but compiled programs run very fast because the time-consuming task of translating the source code into machine language has already been done once, at compile time. Because the translation is already done, it is not required when you execute the program.
Another advantage of compiled languages such as C++ is that you can distribute the executable program to people who don’t have the compiler. With an interpreted language, you must have the interpreter to run the program.
C++ is typically a compiled language, though there are some C++ interpreters. Like many compiled languages, C++ has a reputation for producing fast but powerful programs.
In fact, for many years, the principal goal of computer programmers was to write short pieces of code that would execute quickly. Programs needed to be small because memory was expensive, and needed to be fast because processing power was also expensive.
Easy to maintain means that as requirements change for what the program needs to do, the program can be extended and enhanced without great expense
Post a Comment