-
C++ is an object-oriented language, not very easy to learn, because it is more flexible, so there are a lot of problems to consider when doing programs! Because of the direct operation of the hardware, it inherits the advantages of the C language, so it is very efficient, and is generally used for the underlying and embedded systems.
-
C++ is easier than C, not as complicated to write, but more demanding.
Hehe. That's what I started with.
-
It's easy, it's not easy, it depends on whether you want to learn it or not, and now you use more C
-
Both are widely used, but C++ is commonly used by professionals. To learn C++, you have to learn C well.
-
C is the foundation of C++, generally speaking, you have to learn C first!
-
As long as you learn and master everything, everything matters.
-
C first and then C++
The more important significance of C++ is not that the features are much richer than C, but that it is a huge advance in programming thinking, without C++ before facing a complex project, even if you have object-oriented thinking, but when you pick up C to implement your project, you find that your oo idea is useless, because it is a structured language.
It's much more convenient with C++, the oo idea is very much in line with human thinking habits, and C++ has object-like method attributes corresponding to it.
No matter what, C is still basic, even if you think about the problem in a very oo way, when you write down every int, for, while, if you are still following the basic rules that you have learned from C, your ** is still inseparable from these basic things.
-
C++ contains C, and any compiler that can compile C++ can compile C.
If you want to make software, I still recommend that you learn C++, after all, C++ is an object-oriented language, and C is just a process-oriented language. Comparatively speaking, C is more cumbersome for writing software.
In the process of learning C++, in fact, it has already been C learning.
-
The C language is the foundation, a process-oriented language. C++ is an object-oriented language. It is recommended that you learn C first, and then learn C++ after you finish it.
-
C is a bit more cumbersome, but it's easier to understand.
-
In fact, C++ is a little more than C, and I feel that the two are basically the same.
-
Very extensive, the underlying layer of Linux is written in C language, of course, all applications based on Linux such as Android applications can also be written in C!
-
It is widely used in embedded software, game servers, and other parts that require a high level of efficiency.
-
All PC operating systems: UNIX, Linux, WindOS, DOS, Mac OS...
All mobile operating systems: WP, Android, iOS, Symbian, Blackberry OS...
All embedded RTOS: Tenux, COS II, RT-Thread, UCLinux, FreeRTOS, VXWawls...
Most of the programming work in C is required (and assembly is also required).
Most of the compilers and interpreters of programming languages, most of them have smart chips (microcontrollers, arm, DSP, x86CPU) such as various home appliances, various industrial equipment, and various means of transportation. Almost all devices with microcontrollers that can control the plant with signals require C to complete all programming tasks or part of the programming tasks (except for the C task, other logic parts may also need hardware circuits, FGPA or CPLD, and mechanical structures to implement).
-
All the games you play, the web pages you look at, and everything you do with your computer have C language presence.
2. 1, True 2, False (there is only one program) 3, False (not necessarily) 4, True. >>>More
#include
int main() >>>More
Operate from right to left, -i--so calculate -i first--, the operation level is higher, so it can be written as -(i--)i--for 8, add a - sign, so -i--is 8, at this time i--after, i=7, and then -i++ is the same, can be written as -(i++) so -i++ is -7, at this time i++ becomes 8,--i, subtract 1 before execution, so --i is 7, at this time i=7, ++i is the same, add 1 before executing i, so ++i is 8, at this time i=8, then calculate i--,i--is still equal to 8, then i minus one becomes 7, i++, i++ is equal to 7, and then i++, i=8, so finally i=8, and then print it out in turn, pay attention to the operation is from right to left, but print from left to right print i,i++,i--,i,--i,-i++,i-, so the check mark result is out.
The first if(!) a) means that if a is equal to zero, take x -- the second and third means that if b and c are not 0, it is executed. >>>More
It's not very hard that the tail node next points to null. >>>More