Listen to a lot of people say a lot about level two C + + rumors, such as: After you finish learning C #, learn C + + has no problem, in dealing with the test, summed up the problem can be. Last year, I feel C + + has a very distant distance from itself, then chose this time to test, anyway, many of the argument, learning method is still unchanged, the first step to do is macro grasp. in the learning of VB and C # The basis of language, C + + is the third programming language. From the summary of their own learning experience, programming language learning is still a lot of places are interlinked, may change the environment will change a statement, also or change a way. So, after reading the C + + directory, the feeling is very cordial. Chapter One "Introduction to C + + programming" this chapter, from reviewing the development of programming language, narrates the generation, development and design of object-oriented programming language. The basic features of object-oriented software development and the object-oriented software development process can be said to be an abstract class, followed by a detailed introduction of an instantiated object--c++ language, including the generation, characteristics and development process. With an example, let's take a closer look at its program structure. is followed by C + + The elaboration of the language, the first clear sentence: C + + is the development of C language from the evolution of a new, object-oriented programming language. Therefore, the following summary is mainly summarized as two points, one is the language foundation, one is object-oriented programming.
first: c++ language basics This part of the content, in VB and C # Learning, it should be said that learning every programming language will have such a basic introduction. In this case, we can also use the program development process to cover the above. before we program, We have to have a certain basis, clear the various data types, sometimes define a variable, and sometimes may use an array, so this part of the content is to be accumulated by a bit.
In the programming process, regardless of a program, do not leave the order, selection and loop three control structure, and the scope and some of the variable types of declarations are required to pay special attention to, often due to the absence of caution and make the program error.After the program is written, it is the corresponding input and output, and should have a corresponding format. No one can guarantee that their own program in any situation or conditions will not be wrong, which requires us to learn some of the exception processing knowledge, in case of a rainy, in writing programs, can also be appropriate to apply catch exception to facilitate our debugging program.
The second one: Object-oriented programming
Object-oriented program design has been in contact for a long time, in many places of learning is also encountered, oneself in the previous study also has many times to combine different learning stages to do a summary, so this part of the content is also very familiar. Objects and classes, the concept that has always been on the mouth, from the beginning of the confusion to the present clarity, which is also from the VB of an object-based, process-oriented learning to a completely object-oriented transition. At first, I always find it difficult to climb, now think about it is also very simple, but learning, these simple concepts clear, or there will be other knowledge waiting for us to pursue, such as the last chapter string processing the contents of strings, it is also worth to do a bit of accumulation of drip. Summary:The first time I read it quickly, the whole book is very clear. Only by doing this, the back of learning can go on. C + + programming, one is the language foundation, the second is object-oriented. In combination with the previous VB and C # Knowledge learning, the new knowledge will be nothing, the most is to explain the difference between the details or not. There may be an understanding here, and there is a need for deep learning, and perhaps a careful study before, as long as you look back and see it. The first time the macro study is over, close the book, think back to their map, the whole content of the books are in the heart. So long training, so long learning methods, feeling still very effective. No matter what the exam or study stage, the first time macro grasp is still necessary to do. Only "When the Ling is extremely", it is possible to "list the mountains small."
C + + first time macro grasp