History of C++
C++ has become one of the most popular programming languages in only a few short years. In nineteen ninety-seven, it was estimated that one point five million people knew how to use C++. C++ owes part of its popularity to C. C resembles C++ so much that programmers of C only had to learn a few changes. C++ is also very practical and powerful at what it does. Compilers are also available relatively easily, and books teaching people how to use C++ are easy to find and purchase. Some examples of books are Al Steven’s Teach yourself C++ and Clayton Walnum’s Standard C++ Bible. C++ also owes its popularity to some of the new changes incorporated into it. These features allow C++ to be easily written for programs that can‘t be maintained. The first of these features is the ability to overload operators. This allows it overload or control every value within the program. C++ also supports what is known as raw pointers. Pointers are simply what they sound like: a function that points the program to another function. Third, C++ supports implicit and explicit type conversations, both built-in and user defined. The program, by controlling all the values, can induce certain outcomes. C++ also supports the preprocesso
Differences between C and C++ exist dramatically. C++ is a superset of C and is treated that way. As a general regulation, a C++ compilers can usally assemble any C program. The few differences that do exist will hinder their compatibilities. One reason is each language has a different keyword reserved list. C++ adds additional keywords, and such keywords could be used as identifiers in C programs. “Although C++ is said to include all of C, clearly no C++ compiler can compile such a C program” (Stevens and Wulnum 6). Another example of a change is when functions are declared. In C, programmers could omit function prototype; C++ cannot. A C function prototype with no parameters must include keyword void. In C++, all the programmer needs is a set of empty parameter lists. C++ not only changes aspects of C but also has improvements over C. C++ uses the new and delete memory operators, they replace the standard of malloc and free functions. C++ also uses its own type of string classes to replace the character array processing function declared in the C’s cstring header file. The iostream library replaces the stdio function library for console input and output (Stevens and Walnum 7). C++ is a language with many features unique unto itself. C++ is a procedural language with object-oriented extensions. That means the programmer can design and code programs as procedural modules. The programmer can define and ingratiate objects. C++ can be read from top to bottom, but the functions do not have to be coded in that sequence. The only stipulation is that a function must be declared before it is called, and a variable must be declared before it is used. To call a function within the program, the programmer must provide the program with the name, return value and parameters before the function can be used. The declaration for the function must match in return type and parameters, or the program could terminate. Function can contain parameters, but do not necessarily have to. Some programs also return values while other do not. If the caller of the function needs a returned value, the programmer must code it in. Returned values can be used in initializations of other functions as a parameter value or as part of an expression within another function. Variables are important ; they contain all the data within the program. Variables may be declared anywhere throughout the program. If they are declared within a function, they are considered to have local scope and will only exist until the function terminates. If they are declared outside of a function, they are said to have global scope and will remain available until t
Some topics in this essay:
Stevens Walnum,
Stevens Teach,
Playstation Nintendo,
Stevens Wulnum,
C++ C++,
Differences C++,
Bible C++,
Third C++,
Windows Unless,
Borland Utilities,
language choice,
people c++,
c++ supports,
c++ programmers,
stevens walnum,
private data,
c++ owes popularity,
texture mapping,
c++ popular,
c++ computer,
c++ compiler,
Join now to see the rest of the essay!
Approximate Word count = 1794
Approximate Pages = 7 (250 words per page double spaced)
More Essays on History of C++ Professional Papers: |
CUSTOMER SERVICES
|
|
Saved Papers
You haven't saved any papers.
|