-
1.Simple, compact, flexible and convenient.
There are only 32 keywords and 9 control statements in the C language, and the program is written freely, mainly represented by lowercase letters. It combines the basic structure and sentences of a high-level language with the practicality of a low-level language. The C language can manipulate bits, bytes, and addresses in the same way as assembly language, which are the most basic units of work of a computer.
2.Operators are abundant.
The C operator has a wide range of 34 operators. C treats parentheses, assignments, castings, etc., as operators. As a result, the operation types of C are extremely rich, and the types of expressions are diversified, and various operators can be used flexibly to achieve operations that are difficult to achieve in other high-level languages.
3.The data structure is rich.
The data types of c are: integer, solid, character, array, pointer, struct, common, etc. It can be used to perform operations on various complex data types.
And the concept of pointers was introduced to make the program more efficient. In addition, the C language has powerful graphics functions and supports a variety of displays and drivers. And the calculation function and logical judgment function are powerful.
4.C is a structured language.
The distinguishing feature of structured languages is the separation of data and data, i.e. the various parts of the program are independent of each other except for the necessary exchange of information. This structured approach allows for a clear hierarchy of programs that are easy to use, maintain, and debug. The C language is provided to the user in the form of functions, which can be easily called, and have a variety of loops and conditional statements to control the flow of the program, so that the program is fully structured.
5.c The syntax restrictions are not too strict, and the degree of freedom in program design is large.
Although C is also a strongly typed language, its syntax is flexible, allowing for a great deal of freedom for programmers.
6.The C language allows direct access to physical addresses and can be manipulated directly with the hardware.
As a result, it has the functions of both high-level and low-level languages, and is capable of manipulating bits, bytes, and addresses like assembly language, which are the most basic units of work of a computer and can be used to write system software.
7.C language program generation ** high quality, high program execution efficiency.
Generally only 10 20% less efficient than the goal ** generated by the assembler.
8.The C language has a wide range of applicability and good portability.
One of the outstanding advantages of C language is that it is suitable for a variety of operating systems, such as DOS, UNIX, and also for a variety of models.
-
The biggest advantage is that the underlying hardware can be easily operated!
-
This kind of question is meaningless, and it can also prove that your teacher is wrong, Linus, the founder of Linux, and many, many people who have never used C++, they think that C++ is badly designed, and they don't need object-oriented language, they just use C language, but they can write programs that can also have object-oriented thinking. The main reason why your teacher said it was good was that he was able to develop programs in C++ faster than C at his level.
-
The C language is mainly developed from the bottom level, and C++ adds classes and objects on the basis of C.
C is also a structured language that focuses on algorithms and data structures. The first consideration in the design of C programs is how to calculate and process the input (or environmental conditions) through a process to obtain the output (or realize process (transaction) control), and for C++, the first consideration is how to construct an object model, so that this model can fit the corresponding problem domain, so that the output or process (transaction) control can be obtained by obtaining the state information of the object.
The object of treatment is different, and your teacher may be engaged in a different field.
None of the languages are better than the other, it's all about what you're developing.
-
Object-oriented inheritance derivation mechanism.
A large number of existing achievements can be reused, reducing a lot of duplication of effort.
Suitable for software industrialization.
-
It's hard to say which language is better than other languages, C++ will be liked by people with some programming experience because it is both very low-level and compatible with the characteristics of many programming languages, so it is widely used, and the graphics and image algorithm structure system framework has mature developed class libraries for calling, but this also leads to its syntax is very complicated, and beginners will be annoyed by various details. C is much more concise, and most of the underlying specific implementations such as hardware drivers and systems are in C language, which should be understood by those who are engaged in the combination of software and hardware.
Therefore, the characteristics of these two languages are different, and the application occasions are also different, and it is really difficult to speak whether they are good or not.
-
For example, it can be explained that C language and VB language are like primary school knowledge, and C++ is equivalent to junior high school knowledge, and there are more graduates from primary school, but the knowledge of junior high school is better than that of primary school, and C++ is a further programming language.
-
C++ is an upgrade on the C language, and the input and output of C++ are relatively simple and easy to understand.
-
C++ is object-oriented, C is process-oriented, and object-oriented design is more flexible and practical than process-oriented.
-
Low-level language.
Machine language, assembly language, and symbolic language.
The assembly language source program must be assembled, the object file generated, and then executed.
High-level language. Basic (True Basic, Qbasic, Virtual Basic), C, C++, Pascal, Fortran, intelligent languages (Lisp, Prolog, Clips, OpenCyc, Fazzy), dynamic languages (Python, PHP, Ruby, Lua), etc.
High-level language source programs can be executed in two ways: interpretation and compilation. The latter is usually used.
The C language we use is the latter.
The p language is the pascal above
-
Programming languages are commonly known as "computer languages", and there are many types, which can be divided into two categories: low-level languages (machine languages, assembly languages) and high-level languages (C language, SQL, etc.).
1. Low-level language.
This includes both machine language and assembly language.
a) Machine language is the most primitive computer language. Since the computer can only accept binary Shanchang** internally, the instructions described in binary **0 and 1 are called machine instructions.
2) The essence of assembly language is the same as that of machine language, both of which are directly operated on hardware, except that the instructions use abbreviated identifiers, which are easier to identify and remember.
2. High-level language.
The most commonly used and common languages today are high-level languages. Compared with machine language and assembly language, high-level languages not only synthesize many related machine instructions into a single instruction, but also remove details related to specific operations but not related to getting the job done, such as using stacks, registers, etc., thus greatly simplifying the instructions in the program. At the same time, because a lot of details are omitted, programmers don't need to have too much professional knowledge of Li Jian.
Common high-level languages include: Basic (TrueBasic, Qbasic, VirtualBasic), C, C++, Pascal, Fortran, SQL database language, VC++, Delphi, etc.
-
C is a computer programming language. It has the characteristics of both high-level language and assembly language. It can be used as a system design language to write working system applications, or as an application design language to write applications that do not rely on computer hardware.
As a result, it has a wide range of applications.
C is significantly better than other interpreted high-level languages for operating systems and system programs, as well as for hardware operations, and some large applications are also written in C.
The C language has strong drawing ability, portability, and strong data processing ability, so it is suitable for writing system software, 3D, 2D graphics and animation. It is a high-level language for numerical computing.
First of all, don't worry about this, it's also your worry. It is not about heroes and talents based on majors or professions, but about judging whether a person has the value of existence by real knowledge. If you learn it well, someone will use it. >>>More
Computers have A and B languages, but they are only early versions of C and are not very useful, and Che is only used by early scientists, and most people don't know much about it.
The National Computer Grading Examination has set up examination registration points in colleges and universities around the country. The test is taken twice a year, the first half of the test is held on the morning of the first Saturday of April (written test), and the second half of the year is held on the morning of the penultimate Saturday of September (written test), and the computer-based test starts in the afternoon of the day of the written test. The duration of the computer-based test is five days, and the test center will arrange it according to the number of candidates and equipment. >>>More
It is recommended to install a P2P Terminator software official website. >>>More
1. When taking the computer-based test, can I compile and execute the programs that have been modified, filled in the blanks or programmed? Will I be deducted points for doing so? >>>More