内容简介
《C Primer Plus(第6版)中文版》详细讲解了C语言的基本概念和编程技巧。
《C Primer Plus(第6版)中文版》共17章。第1、2章介绍了C语言编程的预备知识。第3~15章详细讲解了C语言的相关知识,包括数据类型、格式化输入/输出、运算符、表达式、语句、循环、字符输入和输出、函数、数组和指针、字符和字符串函数、内存管理、文件输入输出、结构、位操作等。第16章、17章介绍C预处理器、C库和高级数据表示。本书以完整的程序为例,讲解C语言的知识要点和注意事项。每章末设计了大量复习题和编程练习,帮助读者巩固所学知识和提高实际编程能力。附录给出了各章复习题的参考答案和丰富的参考资料。
《C Primer Plus(第6版)中文版》可作为C语言的教材,适用于需要系统学习C语言的初学者,也适用于巩固C语言知识或希望进一步提高编程技术的程序员。
作者简介
Stephen Prata曾在加利福尼亚的马林学院(肯特菲尔德)教授天文学、物理学和程序设计课程,现已退休。他在加州理工学院获得学士学位,在加州大学伯克利分校获得博士学位。他接触程序设计,是为了利用计算机给星团建模。Stephen撰写和与他人合著了十几本书籍,其中包括C++Primer Plus和Unix Primer Plus。
Content introduction
C Primer Plus (6th Edition) Chinese version explains the basic concepts and programming skills of C language in detail.
C Primer Plus (6th Edition) contains 17 chapters. Chapters 1 and 2 introduce the preparatory knowledge of C programming language. Chapters 3 to 15 explain the C language in detail, including data types, formatting input/output, operators, expressions, statements, loops, character input and output, functions, arrays and Pointers, character and string functions, memory management, file input and output, structure, bit operations, etc. Chapters 16 and 17 cover the C preprocessor, the C library, and advanced data representation. This book takes the complete program as an example to explain the knowledge points and precautions of C language. At the end of each chapter, a large number of review questions and programming exercises are designed to help readers consolidate their knowledge and improve their practical programming ability. The appendix provides reference answers and abundant reference materials for review questions in each chapter.
C Primer Plus (6th Edition) can be used as a C language teaching material, suitable for beginners who need to learn C language systematically, and also for programmers who want to consolidate their knowledge of C language or further improve their programming skills.
About the author
Stephen Prata taught astronomy, physics, and programming at the College of Marin (Kentfield) in California and is now retired. He received his bachelor's degree from the California Institute of Technology and his doctorate from the University of California, Berkeley. He got into programming to use computers to model star clusters. Stephen has written and co-authored more than a dozen books, including C++Primer Plus and Unix Primer Plus.