A comprehensive guide with curated recipes to help you gain a deeper understanding of modern C.
Key FeaturesLearn how to make your applications swift and robust by leveraging powerful features of CUnderstand the workings of arrays, strings, functions, and more down to how they operate in memoryMaster process synchronization during multi-tasking and server-client process communicationBook DescriptionC is a high-level language that's popular among developers. It enables you to write drivers for different devices, access machine-level hardware, apply dynamic memory allocation, and much more. With self-contained tutorials, known as recipes, this book will guide you in dealing with C and its idiosyncrasies and help you benefit from its latest features.
Beginning with common tasks, each recipe addresses a specific problem followed by explaining the solution to get you acquainted with what goes on under the hood. You will explore core concepts of the programming language, including how to work with strings, pointers, and single and multi-dimensional arrays. You will also learn how to break a large application into small modules by creating functions, handling files, and using a database. Finally, the book will take you through advanced concepts such as concurrency and interprocess communication.
By the end of this book, you’ll have a clear understanding and deeper knowledge of C programming, which will help you become a better developer.
What you will learnManipulate single and multi-dimensional arraysPerform complex operations on strings Understand how to use pointers and memory optimallyDiscover how to use arrays, functions, and strings to make large applicationsImplement multitasking using threads and process synchronizationEstablish communication between two or more processes using different techniquesStore simple text in files and store data in a databaseWho this book is forIf you’re a programmer with basic experience in C and want to leverage its features through modern programming practices, then this book is for you.
B.M. Harwani is the founder of Microchip Computer Education, based in Ajmer, India, which provides computer literacy in programming and web development to learners of all ages. He further helps the community by sharing the knowledge and expertise he's gained over 20 years of teaching through writing books. His recent publications include jQuery Recipes, published by Apress, Introduction to Python Programming and Developing GUI Applications with PyQT, published by Cengage Learning, The Android Tablet Developer's Cookbook, published by Addison-Wesley Professional, UNIX and Shell Programming, published by Oxford University Press, and Qt5 Python GUI Programming Cookbook, published by Packt.