- Table View
- List View
C# 8.0 Pocket Reference: Instant Help for C# 8.0 Programmers
by Ben Albahari Joseph AlbahariWhen you need answers about using C# 8.0, this tightly focused and practical book tells you exactly what you need to know without long intros or bloated samples. Easy to browse, C# 8.0 Pocket Reference is ideal as a quick source of information or as a guide to get you rapidly up to speed if you already know Java, C++, or an earlier C# version.All programs and code snippets are available as interactive samples in LINQPad. You can edit these samples and instantly see the results without needing to set up projects in Visual Studio. Written by the author of C# 7.0 in a Nutshell, this pocket reference covers C# 8.0 without skimping on detail, including:C# fundamentals and features new to C# 8.0Advanced topics like operator overloading, type constraints, iterators, nullable types, operator lifting, lambda expressions, and closuresLINQ: sequences, lazy execution, standard query operators, and query expressionsUnsafe code and pointers, custom attributes, preprocessor directives, and XML documentation
C# 8 and .NET Core 3 Projects Using Azure: Build professional desktop, mobile, and web applications that meet modern software requirements
by Dirk Strauss Jas Rademeyer Paul MichaelsGet up to speed with using C# 8 and .NET Core 3.0 features to build real-world .NET Core applications Key Features Learn the core concepts of web applications, serverless computing, and microservices Create an ASP.NET Core MVC application using controllers, routing, middleware and authentication Build modern applications using cutting-edge services from Microsoft Azure Book Description .NET Core is a general-purpose, modular, cross-platform, and opensource implementation of .NET. The latest release of .NET Core 3 comes with improved performance and security features, along with support for desktop applications. .NET Core 3 is not only useful for new developers looking to start learning the framework, but also for legacy developers interested in migrating their apps. Updated with the latest features and enhancements, this updated second edition is a step-by-step, project-based guide. The book starts with a brief introduction to the key features of C# 8 and .NET Core 3. You'll learn to work with relational data using Entity Framework Core 3, before understanding how to use ASP.NET Core. As you progress, you'll discover how you can use .NET Core to create cross-platform applications. Later, the book will show you how to upgrade your old WinForms apps to .NET Core 3. The concluding chapters will then help you use SignalR effectively to add real-time functionality to your applications, before demonstrating how to implement MongoDB in your apps. Finally, you'll delve into serverless computing and how to build microservices using Docker and Kubernetes. By the end of this book, you'll be proficient in developing applications using .NET Core 3. What you will learn Understand how to incorporate the Entity Framework Core 3 to build ASP.NET Core MVC applications Create a real-time chat application using Azure's SignalR service Gain hands-on experience of working with Cosmos DB Develop an Azure Function and interface it with an Azure Logic App Explore user authentication with Identity Server and OAuth2 Understand how to use Azure Cognitive Services to add advanced functionalities with minimal code Get to grips with running a .NET Core application with Kubernetes Who this book is for This book is for developers and programmers of all levels who want to build real-world projects and explore the new features of .NET Core 3. Developers working on legacy desktop software who are looking to migrate to .NET Core 3 will also find this book useful. Basic knowledge of .NET Core and C# is assumed.
C# 8 Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library
by Mikael OlssonThis quick C# 8 guide is a condensed code and syntax reference to the C# programming language, updated with the latest features of C# 8 for .NET and Windows 10. This book presents the essential C# 8 syntax in a well-organized format that can be used as a handy reference. Specifically, it covers nullable reference types, async streams, ranges and indices, default implementations of interface members, recursive patterns, switch expressions, target-typed new-expressions, platform dependencies and more. In the C# 8 Quick Syntax Reference, you will find a concise reference to the C# language syntax: short, simple, and focused code examples; a well laid out table of contents; and a comprehensive index allowing easy review. You won’t find any technical jargon, bloated samples, drawn-out history lessons, or witty stories. What you will find is a language reference that is to the point and highly accessible. The book is packed with useful information and is a must-have for any C# programmer.What You Will LearnDiscover what's new in C# 8 and .NET for Windows 10 programmingEmploy nullable reference types Explore the advanced async streams now available in C# 8Work with ranges and indices Apply recursive patterns to your applicationsUse switch expressions Who This Book Is ForThose with some experience in programming, looking for a quick, handy reference. Some C# or .NET recommended but not necessary.
C# 9.0 Pocket Reference
by Ben Albahari Joseph AlbahariWhen you have questions about C# 9.0 or .NET 5, this best-selling guide has the answers you need. C# is a language of unusual flexibility and breadth, but with its continual growth there's so much more to learn. In the tradition of O'Reilly's Nutshell guides, this thoroughly updated edition is simply the best one-volume reference to the C# language available today.Organized around concepts and use cases, C# 9.0 in a Nutshell provides intermediate and advanced programmers with a concise map of C# and .NET that also plumbs significant depths.Get up to speed on C#, from syntax and variables to advanced topics such as pointers, records, closures, and patternsDig deep into LINQ with three chapters dedicated to the topicExplore concurrency and asynchrony, advanced threading, and parallel programmingWork with .NET features, including regular expressions, networking, spans, reflection, and cryptographyJoseph Albahari is author of C# 8.0 in a Nutshell, C# 8.0 Pocket Reference, and LINQ Pocket Reference (all from O'Reilly). He also wrote LINQPad, the popular code scratchpad and LINQ querying utility.
C# 9 and .NET 5 – Modern Cross-Platform Development: Build intelligent apps, websites, and services with Blazor, ASP.NET Core, and Entity Framework Core using Visual Studio Code, 5th Edition
by Mark J. PriceA comprehensive guide for beginners to learn the key concepts, real-world applications, and latest features of C# 9 and .NET 5 with hands-on exercises using VS CodeKey FeaturesExplore the newest additions to C# 9, the .NET 5 class library, Entity Framework Core and BlazorStrengthen your command of ASP.NET Core 5.0 and create professional websites and servicesBuild cross-platform apps for Windows, macOS, Linux, iOS, and AndroidBook DescriptionIn C# 9 and .NET 5 – Modern Cross-Platform Development, Fifth Edition, expert teacher Mark J. Price gives you everything you need to start programming C# applications.This latest edition uses the popular Visual Studio Code editor to work across all major operating systems. It is fully updated and expanded with a new chapter on the Microsoft Blazor framework.The book's first part teaches the fundamentals of C#, including object-oriented programming and new C# 9 features such as top-level programs, target-typed new object instantiation, and immutable types using the record keyword. Part 2 covers the .NET APIs, for performing tasks like managing and querying data, monitoring and improving performance, and working with the file system, async streams, serialization, and encryption. Part 3 provides examples of cross-platform apps you can build and deploy, such as websites and services using ASP.NET Core or mobile apps using Xamarin.Forms.By the end of the book, you will have acquired the understanding and skills you need to use C# 9 and .NET 5 to create websites, services, and mobile apps.What you will learnBuild your own types with object-oriented programmingQuery and manipulate data using LINQBuild websites and services using ASP.NET Core 5Create intelligent apps using machine learningUse Entity Framework Core and work with relational databasesDiscover Windows app development using the Universal Windows Platform and XAMLBuild rich web experiences using the Blazor frameworkBuild mobile applications for iOS and Android using Xamarin.FormsWho this book is forThis book is best for C# and .NET beginners, or programmers who have worked with C# in the past but feel left behind by the changes in the past few years. This book doesn't expect you to have any C# or .NET experience; however, you should have a general understanding of programming.Students and professionals with a science, technology, engineering, or mathematics (STEM) background can certainly benefit from this book.
C All-in-One Desk Reference For Dummies
by Dan GookinCovers everything users need to get up to speed on C programming, including advanced topics to take their programming skill to the next level Walks C programmers through the entire development cycle of a C program-designing and developing the program, writing source code, compiling the code, linking the code to create the executable programs, debugging, and deployment Provides thorough coverage of keywords, program flow, conditional statements, constants and variables, numeric values, arrays, strings, functions, pointers, debugging, prototyping, and much more Addresses some advanced programming topics such as graphics and game programming as well as Windows and Linux programming Includes dozens of sample programs that readers can adapt and modify for their own uses Written by the author of the first-ever For Dummies book-a man known for his ability to take complex material and present it in a way that makes it simple and fun
C++ All-in-One For Dummies
by John Paul MuellerGet ready for C++20 with all you need to know for complete mastery! Your comprehensive and updated guide to one of the world’s most popular programming languages is here! Whether you’re a novice or expert, you’ll find what you need to get going with the latest features of C++20. The workhorse of programming languages, C++ gives you the utmost control of data usage and interface and resource allocation. If your job involves data, proficiency in C++ means you’re indispensable! This edition gives you 8 books in 1 for total C++ mastery. Inside, internationally renowned expert John Paul Mueller takes you from the fundamentals of working with objects and classes to writing applications that use paradigms not normally associated with C++, such as those used for functional programming strategies. The book also includes online resources such as source code. You discover how to use a C++ GNU compiler to build applications and even how to use your mobile device for coding. Conquer advanced programming and troubleshooting Streamline your code with lambda expressions Use C++ where you need it: for gaming, enterprise applications, and Web services Uncover object secrets including the use of design patterns Discover how to use functional programming techniques to make code concise and easy to read If you want to be your organization’s C++ guru, C++ All-In-One for Dummies is where it’s at!
C++ All-in-One For Dummies
by John Paul Mueller Jeff CogswellGet ahead of the C++ curve to stay in the game C++ is the workhorse of programming languages and remains one ofthe most widely used programming languages today. It'scross-platform, multi-functional, and updates are typicallyopen-source. The language itself is object-oriented, offering youthe utmost control over data usage, interface, and resourceallocation. If your job involves data, C++ proficiency makes youindispensable.C++ All-in-One For Dummies, 3rd Edition is yournumber-one handbook to C++ mastery. Author John Paul Mueller is arecognized authority in the computer industry, and your ultimateguide to C++. Mueller takes you through all things C++, includinginformation relevant to the 2014 update.Learn how to work with objects and classesConquer advanced programming and troubleshootingDiscover how lambda expressions can make your code more conciseand readableSee Standard Library features, such as dynamic arrays, inactionOnline resources include source code from examples in the bookas well as a C++ GNU compiler. If you need to learn C++, this isthe fastest, most effective way to do it. C++ All-in-One ForDummies, 3rd Edition will get you up and running quickly, soyou can get to work producing code faster and better than ever.
C++ All-in-One For Dummies, 2nd Edition
by John Paul Mueller Jeff CogswellHere's the easy way to learn how to use C++ C++, developed by Bjarne Stroustrup at Bell Labs, is one of the most widely used programming languages, with close to four million C++ programmers and growing. C++'s popularity has earned it a spot as part of the Standard Library. Fully updated for the new C++ 2009 standard, C++ All-in-One for Dummies, 2nd Edition compiles seven books into one. This guidebook covers key topics like an introduction to C++, understanding objects and classes, fixing problems, advanced programming, reading and writing files, advanced C++, and building applications with Microsoft MFC. If you're a C++ newbie, start with Book I. But if you're experienced with C++, simply jump in anywhere to learn more! This all-in-one reference helps you learn to: Use C++ for Windows, Mac, and Linux by using the CodeBlocks compiler Understand object-oriented programming Use various diagrams to design your programs Recognize how local variables are stored Use packages, notes, and tags effectively Make a class persistent Handle constructors and destructors With over 25,000 sold of the previous bestselling edition, this second edition with a bonus CD makes C++ easier to understand. It's a perfect introduction for new programmers and guide for advanced programmers. Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
C++ Alles in einem Band für Dummies (Für Dummies)
by John Paul Mueller Jeffrey M. CogswellDieses Buch ist für alle, die tief in die C++-Programmierung einsteigen möchten. Dennoch werden keine Programmierkenntnisse vorausgesetzt. John Paul Mueller und Jeff Cogswell erklären Ihnen zunächst, wie Sie C++ installieren. Sie erfahren, was Klassen und Objekte sind, was Sie mit Entwurfsmustern anfangen und wie Sie Ihre Programme debuggen. Aus Anfängern werden Entwickler mit Erfahrung und dann fortgeschrittene Programmierer. Diese finden in diesem Buch Informationen zu dynamischen Arrays, Lambda-Ausdrücken, Streams, UML, der Standardbibliothek, zu Boost und vielem mehr. Alle Codebeispiele des Buchs stehen zum Download zur Verfügung.
C++ AMP: Accelerated Massive Parallelism with Microsoft® Visual C++®
by Ade Miller Kate Gregory<p>Capitalize on the faster GPU processors in today’s computers with the C++ AMP code library—and bring massive parallelism to your project. With this practical book, experienced C++ developers will learn parallel programming fundamentals with C++ AMP through detailed examples, code snippets, and case studies.</p>
C# and Game Programming: A Beginner's Guide
by Salvatore A. BuonoThe second edition of C# and Game Programming offers the same practical, hands-on approach as the first edition to learning the C# language through classic arcade game applications. Complete source code for games like Battle Bit, Asteroid Miner, and Battle Tennis, included on the CD-ROM, demonstrates programming strategies and complements the comprehensive treatment of C# in the text. From the basics of adding graphics and sound to games, to advanced concepts such as the .Net framework and object-oriented programming, this book provides the foundations for a beginner to become a full-fledged programmer. New in this edition: - Supports DirectX 9.0 - Revised programs and examples - Improved frame rate for game examples
C# and .NET Core Test-Driven Development: Dive into TDD to create flexible, maintainable, and production-ready .NET Core applications
by Ayobami AdewoleLearn how to apply a test-driven development process by building ready C# 7 and .NET Core applications.Key Features Create tests to quickly detect and resolve issues when writing portable code Uncover code integration issues that improve code quality using continuous integration Set up and use data-driven unit testing to verify your codeBook DescriptionThis book guides developers to create robust, production-ready C# 7 and .NET Core applications through the practice of test-driven development process. In C# and .NET Core Test-Driven Development, you will learn the different stages of the TDD life cycle, basics of TDD, best practices, and anti-patterns. It will teach you how to create an ASP.NET Core MVC sample application, write testable code with SOLID principles and set up a dependency injection for your sample application. Next, you will learn the xUnit testing framework and learn how to use its attributes and assertions. You’ll see how to create data-driven unit tests and mock dependencies in your code. You will understand the difference between running and debugging your tests on .NET Core on LINUX versus Windows and Visual Studio. As you move forward, you will be able to create a healthy continuous integration process for your sample application using GitHub, TeamCity, Cake, and Microsoft VSTS.By the end of this book, you will have learned how to write clean and robust code through the effective practice of TDD, set up CI build steps to test and build applications as well as how to package application for deployment on NuGet.What you will learnWrite flexible, maintainable, and verifiable code for .NET CoreWrite testable code using SOLID principles and dependency injectionsRecognize the characteristics of a good unit testStructure and group your unit testUse mock objects to handle dependenciesSet up an end-to-end continuous integration process Who this book is forThis book is for .NET developers who would like to build efficient applications by implementing principles of test-driven development. C# programming and working knowledge of VS is assumed.
C and Python Applications: Embedding Python Code in C Programs, SQL Methods, and Python Sockets
by Philip JoyceSolve problems by embedding Python code in a C programs, SQL methods, Python sockets. This book uses rudimentary mathematics and basic programming to create practical Python applications for embedding. You'll start with an introduction to C and Python, assuming a fundamental understanding of what programming is. You will also review the basics of the database management language, SQL. You will learn how to use SQL from a C program and from a Python program. C and Python have different programming strengths, and you will learn how to write a Python program embedded within a C program to profit from the strength of each, in one program. Finally, you will explore how socket programs enable two computers to communicate with each other. Here the book covers basic server-client, basic threaded, and basic chat programs. What You Will LearnReview basic Python and C coding Understand the methods of embedding Python code within a C programCreate typical programs in Python and C using SDKWork with socket applications in PythonWho This Book Is ForProgrammers and computational modelers with at least some prior experience with programming in C and Python as well as programming in general.
C# and VB .NET Conversion Pocket Reference
by Jose MojicaThe C# and VB.NET Conversion Pocket Reference helps you easily make the switch from C# to Visual Basic .NET and vice versa. Differences between the two languages occur in three main areas: syntax, object-oriented principles, and the Visual Studio .NET IDE. A perfect companion for documents and books that don't have examples using your mastered language, this guide expects that you know one of the two languages, but does not make an assumption about which one.
C# and XML Primer
by Jonathan HartwellLearn XML and how to use and integrate it into your C# applications using this compact book. This guide helps you avoid the pitfalls of dealing with XML and C# since handling XML with C# and the . NET Platform can present its own set of challenges. XML is far from a dead technology, so it is important to learn how best to use it in your applications when the need arises. What You Will Learn Gain the essentials of XML for C# development Read XML files with XMLDocuMent and XDocument Write XML with XMLDocument, XDocument, and XMLWriter Modifiy your XML with XML Document and XDocument Who This Book Is For Experienced Windows application programmers/developers using . NET and C# who may be new to using and applying XML.
C++ Application Development with Code::Blocks
by Biplab Kumar ModakThis is a comprehensive tutorial with step-by-step instructions on how to develop applications with Code::Blocks.This book is for C++ developers who wish to use Code::Blocks to create applications with a consistent look and feel across multiple platforms. This book assumes that you are familiar with the basics of the C++ programming language.
C Brain Teasers
by Dan GookinYou thought you knew C, but can you solve 25 puzzles in this popular programming language? Noted C programmer and author Dan Gookin provides a series of pointed questions, puzzles, and problems to keep your C programming skills sharp. Each one will provide insight into various aspects of handling strings, numeric operations, and other activities, giving you techniques to take the best advantage of all C has to offer. Challenge yourself, and get to know some powerful tricks and details for writing better, faster, more accurate C code. Most C programming books present the information sequentially, teaching you the right way to code and only rarely describing what could go wrong. In this book, the goal is to find out what did go wrong - or what potentially goes right. Explore interesting and unusual programming concepts and approaches with small, to-the-point, programs and exercises. Hone your C programming skills and expand your knowledge. By working through the brain teasers in this book, you'll fill in gaps in your knowledge and work with advanced concepts such as pointers and recursion. All of the teaser topics were selected to give you food for thought, explaining the technical details behind each puzzle. Look at a code sample and try to guess what output it will give. Code it yourself and see the result. Is it what you expected? Then read the author's lighthearted explanation of exactly why the language does what it does, and how you can take advantage of it. You'll come away with a much better understanding of how the language works, and how to use it for efficient and effective programming. What You Need: You need to know the basics of coding in C, and have an environment for compiling and executing your C code. Any Windows, MacOS, or Linux system with a C compiler does the job. Use the terminal window for traditional C programming. Or obtain an Integrated Development Enviornment (IDE) such as Visual Studio Code, which contains all the software tools you need: Editor, Compiler, and Output.
C++ Brain Teasers: Exercise Your Mind
by Anders Schau KnattenC++ is famous for getting all the default behaviors wrong and for sometimes making demons fly out of your nose. Through 25 puzzles, from the useful to the outright weird, we explore some of C++'s most interesting quirks. How does initialization actually work? Do temporaries even exist? Why is `+!!"" ` a valid expression in C++? As you work through each puzzle, you will peel off some of the layers of complexity of C++, getting a fundamental understanding of how the language works. This will help you write better code and recognize issues more easily while debugging. Each puzzle in the book is a complete, seemingly simple C++ program, but can you figure out the output for each, or will the answers stump you? Most of the programs compile and have deterministic, though sometimes surprising, output. Some might, however, have undefined behavior, where anything can happen, including making demons fly out of your nose! Yet others might have unspecified behavior with output that is not completely deterministic; we just know nothing as bad as nasal demons will happen. All puzzles are accompanied by detailed discussions, taking a look under the hood at what exactly is going on to help you understand more about C++'s unexpected behaviors, as well as fundamental concepts like initialization, overload resolution, and implicit conversions. For the non-deterministic cases, we'll explore some typical behaviors one can expect to see in practice, what causes them, and why they shouldn't be relied on. After working through the book, you'll have tools and techniques to help you write better and safer code, and a better understanding of the fundamentals of the language, the background for some of C++'s apparent weirdness, and a better feel for identifying bugs and unsafe code in your own programs. What You Need: The book assumes basic knowledge of C++. If you want to run the programs yourself, you can use either a local C++ compiler or the online compilers at https://godbolt.org.
C/C++ Bibliography
by Safari Content TeamThe contents of this guide take you through the basics of C and C++ programming, from understanding the language form and layout through to using libraries and structures that enable you to build software. Some programming experience is expected in any other language.Developing application using C or C++ requires understanding the core elements of the language, such as the structure and format, alongside the ability to use both functional and object-oriented programming architectures to achieve your goals. C/C++ includes a wide variety of different libraries and environments, such as the Standard Template Library, and these extend the functionality and interface of the C/C++ programming environment to support a rich development environment. Following this bibliography will give you an excellent grounding in C and C++ programming using the books and content of Safari Books Online.
C++/CLI Primer: For .NET Development
by Vivek RagunathanEnter a world of hardcore back-end, server-side enterprise programming on the . NET platform. This book presents some of the important aspects of the C++/CLI language that often become a barrier preventing programmers from exploring further. The C++/CLI Primer is a powerful but compact book that will guide you through that barrier. Many of today's complex transactions and enterprise applications count on C++/CLI. Visual Studio 2015 and earlier versions support C++/CLI if you program using an IDE. C++/CLI is unattractive, clumsy, and hard when compared to other modern languages that run on the . NET platform. That's because it is powerful. Like light that can be viewed as a wave or particle, C++/CLI can be exercised as an unmanaged or managed or actually as the sandwich language to do mixed mode programming, which is its real power. That's also why it is unique. What You'll Learn Discover C++/CLI and why is it used in . NET programming Work with types, primitive types, object creation, and managed and abstract classes Use abstract classes in C++/CLI Harness the power of nullptre Implement code that uses boxing/unboxing Use equality/identity, properties, enums, strings, arrays, and more Who This Book Is For Experienced Microsoft . NET application developers, familiar with . NET framework and C++.
C# Concurrency: Asynchronous and multithreaded programming
by Nir DobovizkiSupercharge your applications with the ultimate guide to asynchronous and multithreaded programming in C#!C# Concurrency teaches you how to write effective multithreaded and asynchronous software in C#. Practical techniques, real-world examples, and useful code samples cut through the confusion around async/await and help you write rapid, reliable, and bug-free code. In C# Concurrency: Asynchronous and Multithreaded Programming you&’ll learn how to: • Take full advantage of async/await • Write bug-free multithreaded code every time • Create multithreaded code that delivers real performance improvements • Grok C# and .NET multithreading and asynchronous primitives • Know when to use concurrency techniques—and when not to use them! In C# Concurrency Nir Dobovizki, a seasoned C# veteran with over 30 years of high-performance programming experience, shares his deep knowledge and expert techniques. Say goodbye to frustrating pitfalls and impossible-to-find bugs that slow down your applications. Nir's careful approach will teach you how to navigate these challenges with ease, allowing you to achieve lightning-fast performance like never before! About the technology Asynchronous and multithreaded programs can perform multiple tasks simultaneously without losing speed or reliability. But getting concurrency right can challenge even experienced developers. This practical book teaches you to deliver concurrent C# apps that are lighting fast and free of the deadlocks and other synchronization issues that undermine performance and take forever to find. About the book C# Concurrency equips programmers with a comprehensive understanding of multithreading and asynchronous programming, focusing on the practical use of the C# async-await feature to simplify asynchronous tasks. It teaches how to avoid common pitfalls, addresses classic multithreading issues like deadlocks and race conditions, and advanced topics such as controlling thread of execution and using thread-safe collections. What's inside • .NET multithreading and asynchronous primitives • When to use concurrency techniques—and when not to! • Confidently use async/await About the reader For experienced C# programmers. No knowledge of asynchro- nous programming required. About the author Nir Dobovizki is a senior software architect and consultant who has worked on concurrent and asynchronous systems since the late 90s. Table of Contents 1 Asynchronous programming and multithreading 2 The compiler rewrites your code 3 The async and await keywords 4 Multithreading basics 5 async/await and multithreading 6 When to use async/await 7 Classic multithreading pitfalls and how to avoid them Part 2 8 Processing a sequence of items in the background 9 Canceling background tasks 10 Await your own events 11 Controlling on which thread your asynchronous code runs 12 Exceptions and async/await 13 Thread-safe collections 14 Generating collections asynchronously/await foreach and IAsyncEnumerable
C++ Concurrency in Action
by Anthony WilliamsSummaryThis bestseller has been updated and revised to cover all the latest changes to C++ 14 and 17! C++ Concurrency in Action, Second Edition teaches you everything you need to write robust and elegant multithreaded applications in C++17.Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.About the TechnologyYou choose C++ when your applications need to run fast. Well-designed concurrency makes them go even faster. C++ 17 delivers strong support for the multithreaded, multiprocessor programming required for fast graphic processing, machine learning, and other performance-sensitive tasks. This exceptional book unpacks the features, patterns, and best practices of production-grade C++ concurrency.About the BookC++ Concurrency in Action, Second Edition is the definitive guide to writing elegant multithreaded applications in C++. Updated for C++ 17, it carefully addresses every aspect of concurrent development, from starting new threads to designing fully functional multithreaded algorithms and data structures. Concurrency master Anthony Williams presents examples and practical tasks in every chapter, including insights that will delight even the most experienced developer. What's insideFull coverage of new C++ 17 featuresStarting and managing threadsSynchronizing concurrent operationsDesigning concurrent codeDebugging multithreaded applicationsAbout the ReaderWritten for intermediate C and C++ developers. No prior experience with concurrency required.About the AuthorAnthony Williams has been an active member of the BSI C++ Panel since 2001 and is the developer of the just::thread Pro extensions to the C++ 11 thread library.Table of ContentsHello, world of concurrency in C++!Managing threadsSharing data between threadsSynchronizing concurrent operationsThe C++ memory model and operations on atomic typesDesigning lock-based concurrent data structuresDesigning lock-free concurrent data structuresDesigning concurrent codeAdvanced thread managementParallel algorithmsTesting and debugging multithreaded applications
C++ Cookbook
by Jeff Cogswell Christopher Diggins Ryan Stephens Jonathan TurkanisDespite its highly adaptable and flexible nature, C++ is also one of the more complex programming languages to learn. Once mastered, however, it can help you organize and process information with amazing efficiency and quickness. The C++ Cookbook will make your path to mastery much shorter. This practical, problem-solving guide is ideal if you're an engineer, programmer, or researcher writing an application for one of the legions of platforms on which C++ runs. The algorithms provided in C++ Cookbook will jump-start your development by giving you some basic building blocks that you don't have to develop on your own. Less a tutorial than a problem-solver, the book addresses many of the most common problems you're likely encounter--whether you've been programming in C++ for years or you're relatively new to the language. Here are just some of the time-consuming tasks this book contains practical solutions for: Reading the contents of a directory Creating a singleton class Date and time parsing/arithmetic String and text manipulation Working with files Parsing XML Using the standard containers Typical of O'Reilly's "Cookbook" series, C++ Cookbook is written in a straightforward format, featuring recipes that contain problem statements and code solutions, and apply not to hypothetical situations, but those that you're likely to encounter. A detailed explanation then follows each recipe in order to show you how and why the solution works. This question-solution-discussion format is a proven teaching method, as any fan of the "Cookbook" series can attest to. This book will move quickly to the top of your list of essential C++ references.
C# Cookbook
by Jay Hilyard Stephen TeilhetThe C# Cookbook offers a definitive collection of solutions and examples for this new programming language. Recipes range from simple tasks to the more complex, and are organized with respect to the types of problems you'll need to solve as you progress in your experience as a C# programmer. Nearly every recipe contains a complete, documented code sample showing you how to solve the specific problem, as well as a discussion of how the underlying technology works and a discussion of alternatives, limitations, and other considerations where appropriate.