Easy to learn C ++ Language

Source: Internet
Author: User

The C ++ language is a practitioner in every software industry. Developers, project managers, and testers must constantly adapt to this trend, I think the flexibility and simplicity of C ++ can only make our work easier and easier.

In 1950s, compilation of compilers was always considered very difficult. It was said that it took 18 years for the first Fortran compiler to complete. While people try to write compilers, many compilation-related theories and technologies are created, which are more valuable than an actual compiler. Just like mathematicians who are solving the famous godebach conjecture, although they have not finally solved the problem, many famous related number theory were born in the meantime.

Recommended reference books for C ++ Language

Although the compilation theory has developed to this day, it is quite mature, but as a college student, it is still too difficult to write a compiler like TurbocC and Java. Not only is it difficult to write the compiler, but it is also difficult to learn the compilation principles.

It is precisely because the compilation principle is relatively difficult to learn, so it is necessary to have good teachers and good teaching materials. For teachers, we can't change it by ourselves, but for teaching materials, we can read it as needed. I would like to recommend some textbooks on compilation principles. The books I recommended are classic textbooks from abroad, because I have not found anything satisfactory in Chinese textbooks.

The first book is called CompilersPrinciples, Techniques, andTools, And the other name is longshu. Why is there a red dragon on the cover of this book? Why? ? Why ??? Therefore, many scholars in other countries name longshu directly. Recently, the Mechanical Industry Publishing House has published a Chinese version of this book, which is called compilation principles. The book was written earlier, probably in 85 or 86 years. One of the authors is also a scientist at the famous Bell Laboratory.

The core compilation principles described in have not changed so far, so its value has been remarkable until today. The biggest feature of this book is to list the general content of the compilation principle through a small practical example at the beginning, so that many beginners of the Compilation Principle will soon have a bottom-up, I also know why these theories exist and how to apply them. This is what I feel is lacking in teaching materials in China. Therefore, Chinese teaching materials are not intended for the readers who are willing to learn by themselves. In short, they have been reading for a long time, but do not know what the content is useful.

The name of the second book is ModernCompilerDesign, and the Chinese name is ModernCompilerDesign. This book is published by the People's post and telecommunications Publishing House. This book focuses on the practice of compilation principles. It provides a lot of actual program code and many practical compilation technical issues.

Another feature of this book is its "modern" character. In traditional compilation principles, you cannot see algorithms such as garbage collection in Java. This is because the explanatory execution language such as Java has become popular in recent years. If you want to learn more about the theory of compilation principles, you must read the previous longbook. If you want to develop an advanced compiler by yourself, so you have to read this modern Compilation Program Design.

The third book is the Compilation Principle and Practice recommended by many domestic compilation principles scholars. Maybe this book was introduced to China earlier. I remember I bought it in high school, but I only read the whole book some time ago. This book is indeed a good choice for beginners.

The compilation principles provided in the C ++ language book are also quite detailed. Although it is not as deep as the previous longshu book, many places are just a few minutes ago. As a university undergraduate course, it is already very in-depth. The book focuses on practice, but it does not feel as practical as the previous modern Compilation Program Design.

The focus of the C ++ language is on the principle, rather than the previous technical practices. While explaining each part of the compilation principle, the compilation principle and practice is also gradually practicing a modern compiler TinyC. after you finish reading the entire book, you can write a TinyC on your own. The author also gives a detailed description of the two commonly used compilation tools Lex and Yacc, which are hard to be seen in Chinese textbooks.

These three textbooks are both in English and Chinese versions. Many good English students only like to read the original books. I don't feel like the translation of these three books is very good. I don't need to buy the English version. Understanding the essence of theory is more important than understanding the surface of the text.

  1. How to Write C ++ project development and project plan correctly
  2. Summary Notes on learning and exploring C ++ library functions
  3. In-depth demonstration of high security of C ++
  4. Describes in detail how to accurately Write C ++ languages.
  5. In-depth demonstration of high security of C ++

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.