-
Valid variable names for the C language:
First, it can only contain numbers, letters, and underscores.
Second, it can't start with a number.
Third, it cannot be a keyword reserved for the C language.
-
C is the abbreviation of computer language! It's the foundation of all programming languages!
-
Origin of the name.
The name C++ was suggested by Rick Masitti in 1983 and first used in December 1983. Earlier, the developing language was called "new c" and later "c with class" [3]. In computer science, C++ is still referred to as the superstructure of the C language.
It finally got its name from the C term for the "++ operator" (which increments the value of a variable). And in the common naming convention, "+" is used to denote the enhanced program. stroustrup said:
The name symbolizes the natural evolution that originates from the change in the C language".
Note: C+ is an early programming language that has nothing to do with C C++.
Rick Mascitti was unofficially asked about the origin of his name in 1992, and he said it was said in a half-joking. He never imagined that C++ would be the official name of the language. There's a joke about the name C++, when you use the suffix ++, the assignment happens after the addition operation (so it should be ++C, not C++, the joke is that some programmers nowadays still use C++ in the same way that they use C, which is often considered incorrect by some authoritative literature).
-
It's a little more advanced than C, so it's called C++ (I guess.
-
The basic unit of C language is functions, classes and methods are things in object-oriented languages, methods are like functions in C, and C is process-oriented.
-
If it's a program, it's an algorithm plus a data structure.
The C language should be functions and structs.
-
Classes and Objects! n more well-defined methods!
-
basiccombinedprogamminglanguage
The roots of the C language can be traced back to Algol60, on the basis of which the CPL was introduced, and then simplified to BCPL BasicCombined ProgammingLanguage (B language, take its first letter), and later made further improvements, for the sake of distinction to take its second letter C, which is now the C language.
-
There is no need to bother with this, some say it is the second word of the BCPL but it is not very convincing.
As long as you know that it's a programming language, it's a compromise between human and machine language communication!
-
It's enough to know that it's a basic language, just know how to use it.
-
In 1972, Bell Labs in the United States finally designed a new language based on the B language, and he took the second letter of the BCPL as the name of this language, which is the C language.
Understand the following rules: 1) Overloading an operator does not change the priority of the operator. >>>More
The semicolon is the sign of the end of the statement, but the semicolon is not used after the loop, if, and subfunctions such as long long a (int b), and everything else is used, but two semicolons cannot be added, although it will not cause an error, but it may affect the result.
Scope. You static char *chh;
static char *ch1;Although the address pointed to by the two pointers does not change, have you ever wondered whether the memory address they point to has been released, char chc[10]; It's local, the function is out, the lifecycle is over, and you're trying to access it with a pointer in void times(). >>>More
do is used to loop.
For example. int i=1,sum=0; >>>More
<> multiplication sign first, priority 3, a*a The result is 144a+=a-= x This formula is a compound of a = a+() and a = a - () represents the previous formula. >>>More