C Programming Cookbook

Download C Programming Cookbook PDF/ePub or read online books in Mobi eBooks. Click Download or Read Online button to get C Programming Cookbook book now. This website allows unlimited access to, at the time of writing, more than 1.5 million titles, including hundreds of thousands of titles in various foreign languages.
C Programming Cookbook

A comprehensive guide with curated recipes to help you gain a deeper understanding of modern C. Key Features Learn how to make your applications swift and robust by leveraging powerful features of C Understand the workings of arrays, strings, functions, and more down to how they operate in memory Master process synchronization during multi-tasking and server-client process communication Book Description C 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 learn Manipulate single and multi-dimensional arrays Perform complex operations on strings Understand how to use pointers and memory optimally Discover how to use arrays, functions, and strings to make large applications Implement multitasking using threads and process synchronization Establish communication between two or more processes using different techniques Store simple text in files and store data in a database Who this book is for If 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.
Modern C++ Programming Cookbook

Author: Marius Bancila
language: en
Publisher: Packt Publishing Ltd
Release Date: 2024-02-29
Meta Description: With a wealth of practical recipes, this third edition isn't just a guide to C++23; it's a complete resource covering key features and techniques from C++11 through to C++23. It's designed to keep you ahead of the curve in C++. Key Features Updated and packed with new recipes, including sync streams, std:expected and std:mdspan, and C++20/23 range adaptors Covers all significant features from all modern versions of the standard, providing comprehensive insights into modern C++ Learn through a series of hands-on, self-contained recipes Purchase of the print or Kindle book includes a free eBook in PDF format Book DescriptionThe updated third edition of Modern C++ Programming Cookbook addresses the latest features of C++23, such as the stacktrace library, std::expected and std::mdspan classes, the header, formatting library improvements, and updates to the ranges library. It also gets into more C++20 topics not previously covered, such as sync streams and source_location. The book is organized into practical recipes covering a wide range of real-world problems, helping you find the solutions you need quickly. You’ll find coverage of all the core concepts of modern C++ programming and features and techniques from C++11 through to C++23, meaning you’ll stay ahead of the curve by learning to incorporate the newest language and library improvements. Beyond the core concepts and new features, you’ll explore recipes related to performance and best practices, how to implement useful patterns and idioms, like pimpl, named parameter, attorney-client, and the factory pattern, and how to complete unit testing with the widely used C++ libraries: Boost.Test, Google Test, and Catch2. With the comprehensive coverage this C++ programming guide offers, by the end of the book you’ll have everything you need to build performant, scalable, and efficient applications in C++. What you will learn Explore the new C++23 language and library features Go deep into the most useful C++20 features Learn to handle threading and concurrency for better performance Solve complex string manipulation tasks efficiently with regex Leverage the standard library for faster development Master the filesystem library to work with files and directories Work with different types of strings and understand compilation See how you can use CRTP, mixins and other patterns in C++ Who this book is for This book is designed for entry- and intermediate-level programmers who already have a foundational understanding of the C++ programming language, but who are looking to master the language, implement the newest features, and become proficient modern C++ developers. Experienced C++ programmers can leverage the recipes in this book to quickly get up to speed on all the most important language and library features of C++11/14/17/20 and 23.
Herb Schildt's Java Programming Cookbook

Author: Herbert Schildt
language: en
Publisher: McGraw Hill Professional
Release Date: 2007-11-26
Your Ultimate "How-To" Guide to Java Programming! Legendary programming author Herb Schildt shares some of his favorite programming techniques in this high-powered Java "cookbook." Organized for quick reference, each recipe shows how to accomplish a practical programming task. A recipe begins with a list of key ingredients (the classes, methods, and interfaces) followed by step-by-step instructions that show how to assemble them into a complete solution. Detailed discussions explain the how and why behind each step, and a full code example puts the recipe into action. Each recipe ends with a list of options and alternatives that suggest ways to adapt the technique to fit a variety of situations. Whether you're a beginner or an experienced pro, you'll find recipes that are sure to satisfy your Java programming appetite! Topics include: String Handling Regular Expressions File Handling Applets Servlets Swing The Collections Framework Multithreading Formatting Data Learn how to: Find substrings that match a regular expression Use regular expressions to tokenize a string Compress and decompress data files Create a ZIP file Format time and date Use printf( ) to display formatted data Reverse, rotate, and shuffle a list Use a Comparator with a collection Create a simple Swing application Create a Swing-based applet Create a simple servlet Use a cookie with a servlet Synchronize threads Monitor a thread's state Set and obtain a thread's priority Use JScrollPane to automate scrolling Access a resource using HttpURLConnection Schedule a task for future execution Use reflection to dynamically create an object and call methods Much, much more