C is a rather simple programming language originally used for system programming (i.e. programming deep inside a computer's operating software). It has been extended somewhat over the years to be more useful. It has the reputation of being a very fast language to write programs in, but it is also very dangerous because the language does not do many run-time checks for you. For example, if you declare an array with 10 elements, and you try to access the 1,000,000th element, C will not complain but will let you do it. This may lead to the program crashing or, worse, you can easily wind up with many bugs, some very difficult to find. The name "C" does not really stand for anything.
C++ is C with a bunch of added functionality to support "classes" and object oriented programming. It maintains the lack of run-time checking but is way more complicated. The result is that C++ is even more dangerous than C because most of the dangerous operations are hidden from the programmer. The name "C++" is kind of a joke; the "++" operator in C and C++ means "increment", as in "add 1 to." So, "C++" means "Add 1 to C". Get it?
Of course, geeks have pointed out that this use of the "++" operator is called "post-increment", which means that the value is incremented but the original value is used in any expression that operator may be part of. That means that "C++" really means "increment C, but return the original value," or "improve C, but don't bring any improvements to the programmer." Believe it or not, this is funny to geeks like me.
2007-02-06 23:11:19
·
answer #1
·
answered by Gary B 5
·
0⤊
0⤋
I'm a teacher and I don't give C++, I just give C+ or C. A "C" would be 70-77 and a "C+" would be 78 or 79%.
Never mind my answer, I guess that is not what you meant....SORRY!
2007-02-06 23:29:06
·
answer #2
·
answered by ? 7
·
0⤊
1⤋