Millions of students and professionals worldwide have learned programming with Deitel® books, videos, online articles and resource centers. C How to Program, 7/e introduces procedural programming in C and object-oriented and generic programming in C . It’s appropriate for introductory- and intermediate-level C and C programming courses.
C How to Program, 7/e includes:
- Key features of the new C standard covered in easyto-include-or-omit modules and an appendix.
- New Secure C Programming sections.
- Code tested on GNU gcc and Visual C ®.
- GNU gdb and Visual C ® debugging.
- Problem solving, data types, control statements, functions, arrays, pointers, strings, formatted I/O, structures, unions, bit manipulation, enumerations, files, data structures, preprocessor and more.
- "Making a Difference" exercise sets.
- New treatment of object-oriented programming in C based on C How to Program, 8/e.
- Searching and sorting with an introduction to Big O.
- And more (see the Preface).
Comments from Recent Editions Reviewers
An excellent introductory computer science text based upon the C programming language. While C is a complex language, this book does a good job making this material accessible while providing a strong foundation for further learning." —Robert C. Seacord, Secure Coding Manager at SEI/CERT, author of The CERT C Secure Coding Standard and technical expert for the international standardization working group for the programming language C
"The extended examples, along with the supporting text, are the best of any of the C texts I’ve seen. Running the code for the supplied examples in conjunction with reading the text provides students with a laboratory for gaining a thorough understanding of how C works." —Tom Rethard, University of Texas at Arlington
"A great introduction to the C programming language and software engineering. It’s fresh and up to date with modern software industry realities. Teaches pseudocode, flowcharts, algorithms and various approaches to problem solving. There are quite a few fun, involving exercises that make me want to code." —Vytautus Leonavicius, Microsoft
"Of any C textbook on the market, the Deitel book easily provides the clearest and most in-depth approach to standard C programming for students of all abilities. With the Deitel C textbook, my students have a tremendous resource that will enable them to succeed not only in my classroom but in the professional workplace for years to come." —William Smith, Tulsa Community College
"This is an excellent introductory C programming text. Clearly demonstrates important C programming concepts. The introductory chapters are very good—the exercises and examples are appropriate for simple integer mathematics and text formatting. The examples [in the ‘C Functions’ chapter] were good and the exercises were numerous. Just the right amount of coverage of arrays. [Chapter 7, ‘C Pointers,’] was well-written and the exercises were rigorous; the coverage is quite detailed. Excellent discussion of many of the string functions. Fine chapters on formatted input/output and files. Good introduction to data structures. I was pleased to see a hint at Big O running time in the binary search example. Good information in the preprocessor chapter." —Dr. John F. Doyle, Indiana University Southeast
"I have been teaching introductory programming courses since 1975, and programming in the C language since 1986. In the beginning there were no good textbooks on C—in fact, there weren’t any! When Deitel, C How to Program, 1/e, came out, we jumped on it—it was at the time clearly the best text on C. The new edition continues a tradition—it’s by far the best student-oriented textbook on programming in the C language—the Deitels have set the standard—again! A thorough, careful, student-oriented treatment of not just the language, but more importantly, the ideas, concepts and techniques of programming! ‘Live code’ is also a big plus, encouraging active participation by the student. A great text!" —Richard Albright, Goldey-Beacom College
"I like the quality of the writing; it’s polished, well-structured, touches important topics and outlines common beginner mistakes really well. Nice visualization of binary search. The card shuffling example illustrates an end-to-end solution to the problem with nice pseudocode, great coding and explanation. Card and maze exercises are very involving. Nice example on signal handling." —Vytautus Leonavicius, Microsoft
"Introduces C programming and gets you ready for the job market, with best practices and development tips to help you become an able and employable candidate. Nice multi-platform explanation [running Visual C on Windows, GNU C on Linux and GNU C on Mac OS X]." —Hemanth H.M., Software Engineer at SonicWALL
"Excellent introductory chapters! The control statements chapters are excellent; the number of exercises is amazing. Great coverage of functions. An impressive job explaining a topic as complex as pointers in such an easy to understand way—it would be hard for anyone not to understand pointers clearly after reading this text! The discussions of secure C programming are valuable. [The strings and characters discussion] is easy to follow. The writing [in the ‘Structures, Unions, Bit Manipulation and Enumerations’ chapter] is very good and clear. [The ‘C Data Structures’] chapter is well written, and the examples and exercises are great; I especially like the section about building a compiler, where good and detailed explanations are provided. [The ‘Other C Topics’ chapter] does a good job closing the coverage of the C language with all those ‘little things.’" —José Antonio González Seco, Parliament of Andalusia, Spain
"An excellent introduction to the C programming language, with many clear examples. Pitfalls of the C language are clearly identified and concise programming methods are defined to avoid them." —John Benito, Blue Pilot Consulting, Inc., and Convener of ISO WG14—the working group responsible for the
C Programming Language Standard
"One of the best C programming textbooks on the market. The live-code approach makes it easy to understand the basics of C programming. I highly recommend this textbook as both a teaching text and a reference." —Xiaolong Li, Indiana State University
"Continues a tradition of excellence as a C textbook. It presents C clearly and accurately, targeting beginning programmers with a well organized exposition which builds from simple concepts to ultimately describing the complete language, making the book valuable for experienced programmers as well. This is an exceptional textbook and reference for the C programmer." —Roy Seyfarth, University of Southern Mississippi
"A great book for the beginning programmer. Covers material that will be useful in later programming classes and the job market." —Fred J. Tydeman, Tydeman Consulting, Vice-Chair of J11 (ANSI C)
"This book is an invaluable resource for both beginning and seasoned programmers. The authors’ approach to explaining the concepts, techniques and practices is comprehensive, engaging and easy to understand. This is a must-have book." —Bin Wang, Department of Computer Science and Engineering, Wright State University