It is not important to get started with a language, but a good programmer should at least master a language, and it is best to be "proficient! C ++ has a large user base, rich learning resources, and broad application prospects. Therefore, many programming enthusiasts hope to learn C ++ well. However, C ++ is obviously much more complex than C or BASIC. Many people think it is not easy to learn C ++ well. Here I would like to give some suggestions and comments to those who wish to learn C ++ well. First, we should have some qualitative understanding of the C ++ language, so that we can get some notes from its connection with other languages. C ++ is developed from the C language. It is richer and more complex than the C language. For those who have a certain C language foundation, many predecessors suggest that they take C ++ as a new language to learn. It is best to think that C ++ has nothing to do with C! I do not recommend this because the two are not in conflict. If you do not have a C language foundation, you do not have to worry about it because it has nothing to do with the two, so you do not have to learn C ++ first. However, if you have a certain C language foundation, congratulations, you will get twice the result with half the effort from C to C ++. Many people think that C ++ is more complicated than Java because it retains pointers. Many beginners cannot grasp the pointer as soon as they see it. To learn more, a powerful feature of C ++ is that it has pointers. If you have a certain C language foundation, then undoubtedly, when you learn C ++, pointers will no longer be mysterious to you. You can also inherit many things from the C language, which are also applicable in C ++. Those who read Bruce aike's name Thinking In C ++: Volume 1 should know, this book selects a way to transition from C to C ++ to help readers learn C ++. In this book, the class concept is not instilled in the reader. Instead, the reader chooses the struct in C that the reader is familiar with To pave the way, and then transits to the class in C ++. In short, if you do not have the foundation of C, Do not worry; if you have the foundation of C, it would be better! Although we believe that there is a certain degree of C language foundation, it is easier to learn C ++. However, some obfuscation should also be avoided. Do not think that C and C ++ have the same syntax and keyword, so they have the same meaning and function. Be sure to refer to professional C ++ books instead of your own speculation. This is what I need to remind readers. C ++ is an object-oriented language, which is the biggest difference between C and C. Although it is quite conservative, it retains a lot of process-oriented traces. Compared with Java, It is not pure. However, the core concepts and ideas of object-oriented are still embodied in C ++, such as inheritance, polymorphism, and classes. If you have some understanding of Object-oriented thinking, it is easier to learn C ++. If you want to use C ++ to learn object-oriented ideas, it may not be a good choice. Of course, you can only learn C ++, but treat the embodiment of Object-oriented thinking as a special Syntax of C ++, in this way, you will not be confused by the complicated concepts. When you have a deep understanding of C ++, it may be better to come up with some object-oriented ideas. Although many people still strongly recommend that you learn C ++, some people will tell you that "the C ++ language is not good and you should learn Java or Python ", make sure that you do not have any language to do. It is only possible for you to learn well. If you are familiar with it, it is in vain to let you learn the latest language. If your C ++ is very good at learning, then your gold will surely shine. Are there any questions about the future of C ++? Or is it better to learn this? These are all thought levels that prevent you from calming down and learning well. It doesn't matter which one you want to learn. Any good future is also based on solid and profound knowledge. If you always want to learn which one, or if you want to learn whether it is useful, you will never learn well, if you are not good at learning, you cannot talk about any future. All you have to do is to learn people in a down-to-earth manner, not just those who do not learn, but those who do not stick to learning. C ++ has many very distinctive technologies, such as STL, templates, and exceptions. Do not be fooled by them, or be intimidated by them, these things are designed to make programming easier. This knowledge is not difficult, but it is difficult to stick to practice for a long time and read a group of books without any effort. On the one hand, I want to tell readers that standard C ++ is very important. In the past, Chinese programmers did not pay too much attention to Standard C ++, but fortunately, this situation is gradually improving. Many people do not understand the differences between standard C ++ and C ++, or even understand what standard C ++ is. There should be a standard for everything. Otherwise, let's talk about it, and let's talk about it. Who should it take? The C ++ language also has standards. The C ++ standards are stipulated by the International Organization for Standardization and are accepted and recognized worldwide. Standardization is the trend of the times, the trend of the people, and the irreversible historical trend. Many readers will find that the C ++ program written on TC is transplanted to Visual C ++ 6.0, and an error may be reported during compilation, an error may occur when the program compiled on Visual C ++ 6.0 is transplanted to dev c ++, or even when it is transplanted to Visual C ++ 2005. This is without the danger of standardization. In general, Visual C ++ 6.0 has poor support for Standard C ++, while GCC or Visual C ++ 2005 meets the requirements of standard C ++. It can be seen that standardization is very important, and it is also the direction of language development. STL, templates, and exceptions are strictly specified in the C ++ standard. We should learn the Standard C ++ instead of the shanzhai C ++. On the other hand, do not be confused by terms such as TC, VC, GCC, and BCB. They are all integrated development environments, and we want to learn a language. Understanding the use of a development environment and learning a language are two different things. Visual C ++ is used. It doesn't mean that you have mastered C ++, therefore, do not be spoiled by the integrated development environment. You should get rid of the dependency on the development environment early. After learning the C ++ language itself, you can easily cope with it in any development environment. Unfinished, To be continued...
This article from the "White Horse negative gold ghost" blog, please be sure to keep this source http://baimafujinji.blog.51cto.com/907111/194028