Modern CSummary Modern C focuses on the new and unique features of modern C programming. The book is based on the latest C standards and offers an up-to-date perspective on this tried-and-true language. About the technology C is extraordinarily modern for a 50-year-old programming language. Whether you’re writing embedded code, low-level system routines, or high-performance applications, C is up to the challenge. This unique book, based on the latest C standards, exposes a modern perspective of this tried-and-true language. About the book Modern C introduces you to modern day C programming, emphasizing the unique and new features of this powerful language. For new C coders, it starts with fundamentals like structure, grammar, compilation, and execution. From there, you’ll advance to control structures, data types, operators, and functions, as you gain a deeper understanding of what’s happening under the hood. In the final chapters, you’ll explore performance considerations, reentrancy, atomicity, threads, and type-generic programming. You’ll code as you go with concept-reinforcing exercises and skill-honing challenges along the way. What's inside Operators and functions Pointers, threading, and atomicity C’s memory model Hands-on exercises About the reader For programmers comfortable writing simple programs in a language like Java, Python, Ruby, C#, C++, or C. About the author Jens Gustedt is a senior scientist at the French National Institute for Computer Science and Control (INRIA) and co-editor of the ISO C standard. |
Contents
Acquaintance | |
Everything is about control | |
Expressing computations | |
C library functions | |
Cognition | |
Style | |
Organization and documentation | |
Pointers | |
The C memory model | |
Storage | |
Experience | |
Basic values and data | |
Derived data types | |
Functions | |
Takeaways | |
Bibliography | |
List of Figures | |
Other editions - View all
Common terms and phrases
abstract state machine allocated argc arguments arithmetic atomic base type binary representation bool buffer bytes chapter char const character compiler compound literal condition constants control flow conversion corresponding declaration define definition double const elements encode ensure errno error evaluation example EXIT_SUCCESS expression false floating-point format function call function pointer header file hexadecimal identifiers implementation initialized inline inline functions INT_MAX integer integer types interfaces iteration keyword language library functions longjmp loop macro malloc mutex null object operands operators optimization output platform printf program execution recursive return value runtime semantics sequence signal handler signed int signed type signedness SIZE_MAX size_t sizeof specify standard statement static stddef.h stdio.h stdout storage duration string literals struct tm structure Takeaway termination tgmath.h thread time_t typedef undefined behavior unsigned char unsigned long unsigned types valid variable variadic function void