C Programming Su Xiaohong fourth edition and Tan Haoqiang what is the difference
Features are different.
Features are different: C Programming Tan Haoqiang version of the fourth edition is relatively simple is generally recognized as a good textbook for learning the C language, and has been selected by most colleges and universities across the country. Su Xiaohong designed the fourth edition of the more difficult the textbook both interesting and practical, to the application of the background, oriented programming practice and problem solving ability training, from the actual problem, in the case of deepening gradually lead to the knowledge, the formation of the program design methodology from the bottom up to the top down and the data structure from the simple to the complexity of the two logical and clear main line.
C is a process-oriented, abstracted general-purpose programming language, widely used in bottom-up development.C can be compiled and processed in a simple way with low-level memory.
C Programming Tan Haoqiang version of the fourth edition and the third edition of what is the difference
one, referring to different
1, C Programming Tan Haoqiang version of the fourth edition: is a 2010 Tsinghua University Press books, the author is Tan Haoqiang.
2, C Programming Tan Haoqiang version of the third edition: is generally recognized as a good textbook for learning the C language, and has been selected by most colleges and universities across the country.
Second, the characteristics of different
1, C Programming Tan Haoqiang version of the fourth edition: advanced content, rational system, clear concepts, detailed explanations, reduce the steps, dispersing the difficult points, examples of rich, in-depth, smooth text, easy to understand, is the ideal textbook for beginners to learn C programming, can be used as a higher education institutions, the official textbook of the various specialties.
2, C Programming Tan Haoqiang version of the third edition: the cumulative distribution of more than 7 million copies, the highest record of similar books in the country, is to learn the C language mainstream book.
What is the specific difference between Tan Ho Keung c programming version 3 and version 4? Which version is the best? What is good about it?
The difference, and which is better, is as follows:
The fourth edition maintains the writing style of the previous three editions, keeping the conceptual clarity and easy-to-understand characteristics, and has been modified in the following aspects:
(1) Introduced in accordance with the C99 standard in order to adapt to the development of the C language, so that the program is more standardized. At present, most of the textbooks introducing the C language are introduced according to the C89 standard. This book is introduced according to C99, and the programs meet the requirements of C99. For example: ① data type introduction, increased C99 expansion of double long integer (longlongint), complex floating-point type (float_complex, double_complex, longlong_complex), Boolean (bool), etc., so that readers have an understanding. C99 requires that the type of the main function is always specified as int, and add a return statement “return0;” at the end of the function. C99 added a new form of comment line – a double flagon // start as a comment line, which was originally a comment line form of C + +, now C99 to expand it in, making programming more convenient. At the same time, the original /? ……? / form, so that the original program written according to the C89 standard can still be used without modification. This book adopts the new form of C99 annotations, which is more convenient for readers to use and meets the development needs. Therefore, the program of this book basically uses the following form:#include<stdio.h>//”//” as the beginning of the comment line intmain ()//specify the main function for the type of int {return0;//such as the function is normally executed, return the integer 0 }④ Some other specifics added by C99 are specifically noted in the relevant chapters of the book to remind the reader. Since C99 is based on C89 to add or expand some functions, C89 and C99 are basically compatible. Programs written in C89 can still run in the C99 environment, C99 added some new features and rules, is in the preparation of more complex programs for ease of use and improve efficiency, this book does not introduce the content of the current temporary use, so as not to distract the reader and increase the learning curve. In the future, in-depth programming and then gradually understand and learn. At present, some C compilation systems used in the community, some did not realize the requirements of C99, and some realize some of the functions of C99. Considering the conditions for readers to practice on the machine, the example programs in this book can all be used in the current widely used C++ compilation system.
(2) Considering the current situation in China and the convenience of the readers, the programs in this book are compiled with VisualC++6.0, and the running results are also obtained in VisualC++6.0 environment. The program is compiled with VisualC++6.0, and the results are also obtained in VisualC++6.0 environment. The program is also introduced in VisualC++6.0 environment as an example when analyzing. If other compilation systems are used, it is similar and will not cause any problems.
(3) Enhancing Algorithms. Chapter 2 is devoted to the concept of algorithms, the characteristics of algorithms, tools for representing algorithms, and how to design algorithms, and illustrates how to construct an algorithm through some simple examples. It gives the reader a preliminary and basic understanding. In the subsequent chapters, various typical algorithms are introduced in combination with examples from shallow to deep, and this algorithm is immediately implemented in C and a program is written. This makes the algorithm and the program closely integrated, and by running the program and getting the results, it is easy to verify the correctness of the algorithm. Learning will not feel abstract, but will feel that the algorithm is concrete and interesting, visible and tangible. In each example, after giving the problem, the problem is first analyzed, the solution is introduced, that is, the construction of the algorithm, and then the algorithm is based on the preparation of the program, rather than listing the program and then explaining the program, from which the algorithm is understood. This is more in line with the reader’s cognitive law, easier to understand the algorithm, and also guide the reader to consider the algorithm before programming when doing the problem, rather than sitting down and writing the program. Cultivate good habits.
(4) more understandable and easy to learn. The authors fully consider the majority of beginners, carefully design the system, and appropriately lower the threshold for readers to get started. Try to use as little as possible of the profound and difficult to understand the terminology, with easy-to-understand methods and language to explain the complex concepts clearly, so that complex issues simplified. Readers who have not studied computer principles and advanced mathematics can fully grasp the content of this book. This book adopts the author of the “problem – problem solving – inductive analysis” of the new teaching trilogy, the first concrete and then abstract, the first practical and then theoretical, the first individual and then general. Instead of first abstract and then concrete, first theory and then practical, first general and then individual. In the introduction of each example, the following steps are taken: give the problem – solution ideas – write the program – run the results – program analysis – relevant instructions, so that the reader can easily understand. Even if there is no teacher to explain, the reader can read and understand the contents of the book, it will be possible to do, the teacher to speak less, promote self-study and practice on the computer.
(5) re-organize the content. According to the actual situation in recent years in the teaching of schools, the authors of the content of the book made the following adjustments: ① according to the training requirements of non-computer students and future work, the textbook no longer includes “bit operation” chapter. Considering that some readers need to learn this part of the content of the “bit operation” in the “C Programming (Fourth Edition) Learning Guide” book for optional learning. Eliminate Chapter 3, “Data Types, Operators, and Expressions,” from C Programming (Third Edition). The content of this chapter involves the form of data storage in computer memory, and readers find it difficult to learn these contents at the beginning. In the fourth edition, these contents are streamlined, no longer separate chapters, the most basic, you must understand the contents of the combination of Chapter 3, “the simplest C programming” in the introduction, which can reduce the learning difficulty. The third edition includes a chapter on “preprocessing commands”, and considering that the content of this chapter is not the most basic, it will not be introduced in detail in the fourth edition, but will be placed in the book “C Programming (Fourth Edition) Learning Tutorials” for optional study. Considering that the majority of readers have not studied other computer languages before taking this course and lack basic knowledge of computer languages and programs, Chapter 1 “Overview of C Language” of the third edition has been changed to “Programming and C Language”, and the basic knowledge of computer languages and programs has been added to this chapter. The basic knowledge of computer languages and programs has been added to this chapter. (5) Many schools put this course in the first year of study, when they have not yet studied or have not finished studying higher mathematics, and they have difficulties in learning the procedures related to higher education, so the contents related to higher mathematics are no longer included in the fourth edition, and readers with a high school education level or above can understand this book. (6) In the third edition of the “structure and shared body” chapter, there is the design of the chain table (the creation, insertion, deletion and output of the chain table, etc.), for non-computer science students, the difficulty is greater. The authors believe that this part of the content of non-computer majors can not be the basic requirements, in the fourth edition of this part of the content of the streamlining, only a simple introduction to the chain table, the reader can have a certain understanding of it. Taking into account this part of the computer students are in need of, we will be concerned about the details of the chain table as an exercise for the option to do, and in the “C Programming (Fourth Edition) Learning Guide” book of answers to the exercises given in the complete program for those who need to refer to. (7) specially prepared “C program cases” chapter, the application of the knowledge of the chapter. Provides different levels of difficulty, different types of programs. Read these programs, you can make students understand how to write applications, improve their programming skills. This part is arranged in the book “C Programming (Fourth Edition) Study Guide” for those who need it. It is believed that after revision, this book will be easier to learn and more effective.
The fourth edition is systematic and comprehensive, with in-depth contents and detailed lectures, containing many contents not found in other textbooks, especially for the problems that are likely to arise in programming practice, which are reminded and analyzed, and is the ideal textbook for learning C programming. Suitable for schools and readers with higher degree and better foundation.
What is the difference between the three books of Tan Haoqiang’s c programming (4th edition)?
The content is the same, the presentation is different. The fourth edition expresses the content from the perspective of application and use, and it looks like C is more practical.
There is a detailed explanation in the preface of C Programming (Fourth Edition), including the differences between the fourth and third editions, etc.
Is the latest edition of Haoqiang Tan’s C Programming the 3rd or 4th edition? I’m really asking
The fourth edition is the latest. There are many compilation environments for C voice, you can use that one, don’t care what compilation environment the book uses, the book says TurboC, etc. just to provide you with an environment for compiling C voice. If you want to take the second level of computer, use VC++6.0, the second level is also that compilation environment.