C Workbook

Advertisement



  c++ workbook: C++ Crash Course Josh Lospinoso, 2019-09-24 A fast-paced, thorough introduction to modern C++ written for experienced programmers. After reading C++ Crash Course, you'll be proficient in the core language concepts, the C++ Standard Library, and the Boost Libraries. C++ is one of the most widely used languages for real-world software. In the hands of a knowledgeable programmer, C++ can produce small, efficient, and readable code that any programmer would be proud of. Designed for intermediate to advanced programmers, C++ Crash Course cuts through the weeds to get you straight to the core of C++17, the most modern revision of the ISO standard. Part 1 covers the core of the C++ language, where you'll learn about everything from types and functions, to the object life cycle and expressions. Part 2 introduces you to the C++ Standard Library and Boost Libraries, where you'll learn about all of the high-quality, fully-featured facilities available to you. You'll cover special utility classes, data structures, and algorithms, and learn how to manipulate file systems and build high-performance programs that communicate over networks. You'll learn all the major features of modern C++, including: Fundamental types, reference types, and user-defined types The object lifecycle including storage duration, memory management, exceptions, call stacks, and the RAII paradigm Compile-time polymorphism with templates and run-time polymorphism with virtual classes Advanced expressions, statements, and functions Smart pointers, data structures, dates and times, numerics, and probability/statistics facilities Containers, iterators, strings, and algorithms Streams and files, concurrency, networking, and application development With well over 500 code samples and nearly 100 exercises, C++ Crash Course is sure to help you build a strong C++ foundation.
  c++ workbook: C++ for the Impatient Brian Overland, 2013-05-08 A Ready Reference for C++ C++ for the Impatient offers both the quickest way for busy programmers to learn the latest features of the C++ language and a handy resource for quickly finding answers to specific language questions. Designed to give you the most accurate and up-to-date information you require fast and to the point, this book is also an essential guide to the new C++11 standard, including advanced uses of the C++ standard library. Features include · Concise descriptions of nearly every function, object, and operator in the C++ core language and standard library, with clear, well-chosen examples for each of them · Information provided “at a glance” through syntax displays, tables, and summaries of important functions · Content organized for quick look-up of needed information · Simple explanations of advanced concepts, using helpful illustrations · Complete program examples that are both useful and intriguing, including puzzles, games, and challenging exercises C++11 features, all covered in the book, include: · Lambdas · rvalue references · Regular-expression library · Randomization library · Hash-table containers · Smart pointers C++ for the Impatient is an ideal resource for anyone who needs to come up to speed quickly on C++11. Whether or not it’s your first C++ book, it will be one you come back to often for reliable answers.
  c++ workbook: Discovering Modern C++ Peter Gottschling, 2015-12-23 As scientific and engineering projects grow larger and more complex, it is increasingly likely that those projects will be written in C++. With embedded hardware growing more powerful, much of its software is moving to C++, too. Mastering C++ gives you strong skills for programming at nearly every level, from “close to the hardware” to the highest-level abstractions. In short, C++ is a language that scientific and technical practitioners need to know. Peter Gottschling’s Discovering Modern C++ is an intensive introduction that guides you smoothly to sophisticated approaches based on advanced features. Gottschling introduces key concepts using examples from many technical problem domains, drawing on his extensive experience training professionals and teaching C++ to students of physics, math, and engineering. This book is designed to help you get started rapidly and then master increasingly robust features, from lambdas to expression templates. You’ll also learn how to take advantage of the powerful libraries available to C++ programmers: both the Standard Template Library (STL) and scientific libraries for arithmetic, linear algebra, differential equations, and graphs. Throughout, Gottschling demonstrates how to write clear and expressive software using object orientation, generics, metaprogramming, and procedural techniques. By the time you’re finished, you’ll have mastered all the abstractions you need to write C++ programs with exceptional quality and performance.
  c++ workbook: C++ Primer Stanley B. Lippman, Josée Lajoie, Barbara E. Moo, 2012-08-06 Bestselling Programming Tutorial and Reference Completely Rewritten for the New C++11 Standard Fully updated and recast for the newly released C++11 standard, this authoritative and comprehensive introduction to C++ will help you to learn the language fast, and to use it in modern, highly effective ways. Highlighting today’s best practices, the authors show how to use both the core language and its standard library to write efficient, readable, and powerful code. C++ Primer, Fifth Edition, introduces the C++ standard library from the outset, drawing on its common functions and facilities to help you write useful programs without first having to master every language detail. The book’s many examples have been revised to use the new language features and demonstrate how to make the best use of them. This book is a proven tutorial for those new to C++, an authoritative discussion of core C++ concepts and techniques, and a valuable resource for experienced programmers, especially those eager to see C++11 enhancements illuminated. Start Fast and Achieve More Learn how to use the new C++11 language features and the standard library to build robust programs quickly, and get comfortable with high-level programming Learn through examples that illuminate today’s best coding styles and program design techniques Understand the “rationale behind the rules”: why C++11 works as it does Use the extensive crossreferences to help you connect related concepts and insights Benefit from up-to-date learning aids and exercises that emphasize key points, help you to avoid pitfalls, promote good practices, and reinforce what you’ve learned Access the source code for the extended examples from informit.com/title/0321714113 C++ Primer, Fifth Edition, features an enhanced, layflat binding, which allows the book to stay open more easily when placed on a flat surface. This special binding method—notable by a small space inside the spine—also increases durability.
  c++ workbook: A Tour of C++ Bjarne Stroustrup, 2013-09-16 The C++11 standard allows programmers to express ideas more clearly, simply, and directly, and to write faster, more efficient code. Bjarne Stroustrup, the designer and original implementer of C++, thoroughly covers the details of this language and its use in his definitive reference, The C++ Programming Language, Fourth Edition. In A Tour of C++ , Stroustrup excerpts the overview chapters from that complete reference, expanding and enhancing them to give an experienced programmer–in just a few hours–a clear idea of what constitutes modern C++. In this concise, self-contained guide, Stroustrup covers most major language features and the major standard-library components–not, of course, in great depth, but to a level that gives programmers a meaningful overview of the language, some key examples, and practical help in getting started. Stroustrup presents the C++ features in the context of the programming styles they support, such as object-oriented and generic programming. His tour is remarkably comprehensive. Coverage begins with the basics, then ranges widely through more advanced topics, including many that are new in C++11, such as move semantics, uniform initialization, lambda expressions, improved containers, random numbers, and concurrency. The tour ends with a discussion of the design and evolution of C++ and the extensions added for C++11. This guide does not aim to teach you how to program (see Stroustrup’s Programming: Principles and Practice Using C++ for that); nor will it be the only resource you’ll need for C++ mastery (see Stroustrup’s The C++ Programming Language, Fourth Edition, for that). If, however, you are a C or C++ programmer wanting greater familiarity with the current C++ language, or a programmer versed in another language wishing to gain an accurate picture of the nature and benefits of modern C++, you can’t find a shorter or simpler introduction than this tour provides.
  c++ workbook: Data Structures & Other Objects Using C++ Michael Main, Walter J. Savitch, 2011 This text takes a gentle approach to the data structures course in C++. Providing an early, self-contained review of object-oriented programming and C++, it gives students a firm grasp of key concepts and allows those experienced in another language to adjust easily.
  c++ workbook: The C++ Programming Language Bjarne Stroustrup, 2013-07-10 The new C++11 standard allows programmers to express ideas more clearly, simply, and directly, and to write faster, more efficient code. Bjarne Stroustrup, the designer and original implementer of C++, has reorganized, extended, and completely rewritten his definitive reference and tutorial for programmers who want to use C++ most effectively. The C++ Programming Language, Fourth Edition, delivers meticulous, richly explained, and integrated coverage of the entire language—its facilities, abstraction mechanisms, standard libraries, and key design techniques. Throughout, Stroustrup presents concise, “pure C++11” examples, which have been carefully crafted to clarify both usage and program design. To promote deeper understanding, the author provides extensive cross-references, both within the book and to the ISO standard. New C++11 coverage includes Support for concurrency Regular expressions, resource management pointers, random numbers, and improved containers General and uniform initialization, simplified for-statements, move semantics, and Unicode support Lambdas, general constant expressions, control over class defaults, variadic templates, template aliases, and user-defined literals Compatibility issues Topics addressed in this comprehensive book include Basic facilities: type, object, scope, storage, computation fundamentals, and more Modularity, as supported by namespaces, source files, and exception handling C++ abstraction, including classes, class hierarchies, and templates in support of a synthesis of traditional programming, object-oriented programming, and generic programming Standard Library: containers, algorithms, iterators, utilities, strings, stream I/O, locales, numerics, and more The C++ basic memory model, in depth This fourth edition makes C++11 thoroughly accessible to programmers moving from C++98 or other languages, while introducing insights and techniques that even cutting-edge C++11 programmers will find indispensable. This book features an enhanced, layflat binding, which allows the book to stay open more easily when placed on a flat surface. This special binding method—noticeable by a small space inside the spine—also increases durability.
  c++ workbook: API Design for C++ Martin Reddy, 2011-03-14 API Design for C++ provides a comprehensive discussion of Application Programming Interface (API) development, from initial design through implementation, testing, documentation, release, versioning, maintenance, and deprecation. It is the only book that teaches the strategies of C++ API development, including interface design, versioning, scripting, and plug-in extensibility. Drawing from the author's experience on large scale, collaborative software projects, the text offers practical techniques of API design that produce robust code for the long term. It presents patterns and practices that provide real value to individual developers as well as organizations. API Design for C++ explores often overlooked issues, both technical and non-technical, contributing to successful design decisions that product high quality, robust, and long-lived APIs. It focuses on various API styles and patterns that will allow you to produce elegant and durable libraries. A discussion on testing strategies concentrates on automated API testing techniques rather than attempting to include end-user application testing techniques such as GUI testing, system testing, or manual testing. Each concept is illustrated with extensive C++ code examples, and fully functional examples and working source code for experimentation are available online. This book will be helpful to new programmers who understand the fundamentals of C++ and who want to advance their design skills, as well as to senior engineers and software architects seeking to gain new expertise to complement their existing talents. Three specific groups of readers are targeted: practicing software engineers and architects, technical managers, and students and educators. - The only book that teaches the strategies of C++ API development, including design, versioning, documentation, testing, scripting, and extensibility - Extensive code examples illustrate each concept, with fully functional examples and working source code for experimentation available online - Covers various API styles and patterns with a focus on practical and efficient designs for large-scale long-term projects
  c++ workbook: The C++ Programming Language Bjarne Stroustrup, 2000 The most widely read and trusted guide to the C++ language, standard library, and design techniques includes significant new updates and two new appendices on internationalization and Standard Library technicalities. It is the only book with authoritative, accessible coverage of every major element of ISO/ANSI Standard C++.
  c++ workbook: C++ Concurrency in Action Anthony Williams, 2019 C++ 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. -- Provided by publisher.
  c++ workbook: The C++ Workbook Richard Wiener, Lewis J. Pinson, 1990 Filmed work by students of the School of Design, Swinburne University of Technology.
  c++ workbook: Functional Programming in C++ Ivan Cukic, 2018-11-09 Summary Functional Programming in C++ teaches developers the practical side of functional programming and the tools that C++ provides to develop software in the functional style. This in-depth guide is full of useful diagrams that help you understand FP concepts and begin to think functionally. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Well-written code is easier to test and reuse, simpler to parallelize, and less error prone. Mastering the functional style of programming can help you tackle the demands of modern apps and will lead to simpler expression of complex program logic, graceful error handling, and elegant concurrency. C++ supports FP with templates, lambdas, and other core language features, along with many parts of the STL. About the Book Functional Programming in C++ helps you unleash the functional side of your brain, as you gain a powerful new perspective on C++ coding. You'll discover dozens of examples, diagrams, and illustrations that break down the functional concepts you can apply in C++, including lazy evaluation, function objects and invokables, algebraic data types, and more. As you read, you'll match FP techniques with practical scenarios where they offer the most benefit. What's inside Writing safer code with no performance penalties Explicitly handling errors through the type system Extending C++ with new control structures Composing tasks with DSLs About the Reader Written for developers with two or more years of experience coding in C++. About the Author Ivan Čukić is a core developer at KDE and has been coding in C++ since 1998. He teaches modern C++ and functional programming at the Faculty of Mathematics at the University of Belgrade. Table of Contents Introduction to functional programming Getting started with functional programming Function objects Creating new functions from the old ones Purity: Avoiding mutable state Lazy evaluation Ranges Functional data structures Algebraic data types and pattern matching Monads Template metaprogramming Functional design for concurrent systems Testing and debugging
  c++ workbook: The Modern C++ Challenge Marius Bancila, 2018-05-23 Test your C++ programming skills by solving real-world programming problems covered in the book Key Features Solve a variety of real-world programming and logic problems by leveraging the power of C++17 Test your skills in using language features, algorithms, data structures, design patterns, and more Explore areas such as cryptography, communication, and image handling in C++ Book Description C++ is one of the most widely-used programming languages and has applications in a variety of fields, such as gaming, GUI programming, and operating systems, to name a few. Through the years, C++ has evolved into (and remains) one of the top choices for software developers worldwide. This book will show you some notable C++ features and how to implement them to meet your application needs. Each problem is unique and doesn't just test your knowledge of the language; it tests your ability to think out of the box and come up with the best solutions. With varying levels of difficulty, you'll be faced with a wide variety of challenges. And in case you're stumped, you don't have to worry: we've got the best solutions to the problems in the book. So are you up for the challenge? What you will learn Serialize and deserialize JSON and XML data Perform encryption and signing to facilitate secure communication between parties Embed and use SQLite databases in your applications Use threads and asynchronous functions to implement generic purpose parallel algorithms Compress and decompress files to/from a ZIP archive Implement data structures such as circular buffer and priority queue Implement general purpose algorithms as well as algorithms that solve specific problems Create client-server applications that communicate over TCP/IP Consume HTTP REST services Use design patterns to solve real-world problems Who this book is for This book will appeal to C++ developers of all levels. There's a challenge inside for everyone.
  c++ workbook: C++ how to Program Paul J. Deitel, Harvey M. Deitel, 2013-02-12 NOTE: You are purchasing a standalone product; MyProgrammingLab does not come packaged with this content. If you would like to purchase both the physical text and MyProgrammingLab search for ISBN-10: 0133450732/ISBN-13: 9780133450736 . That package includes ISBN-10: 0133146146/ISBN-13: 9780133146141 and ISBN-10: 0133378713/ISBN-13: 9780133378719. MyProgrammingLab should only be purchased when required by an instructor For Introduction to Programming (CS1) and other more intermediate courses covering programming in C++. Also appropriate as a supplement for upper-level courses where the instructor uses a book as a reference for the C++ language. This best-selling comprehensive text is aimed at readers with little or no programming experience. It teaches programming by presenting the concepts in the context of full working programs and takes an early-objects approach. The authors emphasize achieving program clarity through structured and object-oriented programming, software reuse and component-oriented software construction. The Ninth Edition encourages students to connect computers to the community, using the Internet to solve problems and make a difference in our world. All content has been carefully fine-tuned in response to a team of distinguished academic and industry reviewers. MyProgrammingLab for C++ How to Program is a total learning package. MyProgrammingLab is an online homework, tutorial, and assessment program that truly engages students in learning. It helps students better prepare for class, quizzes, and exams--resulting in better performance in the course--and provides educators a dynamic set of tools for gauging individual and class progress. And, MyProgrammingLab comes from Pearson, your partner in providing the best digital learning experience. View the Deitel Buzz online to learn more about the newest publications from the Deitels.
  c++ workbook: Workbook for C++ Yedidyah Langsam, 2009 This workbook is useful for any course that teaches introductory programming using the C++ language, as well as for students who need to review basic C++ programming concepts. It is not tied to any particular textbook and may be used on its own. The text provides hundreds of exercises and two sample final examinations that may be assigned by the instructor or used by the student for review. The book focuses on both syntax and basic programming methodologies such as loops, decisions, functions, and so on. The exercises in Workbook for C++ are grouped by concept and contain both elementary and advanced questions, to give students practice in using the techniques of the C++ language and help them write programs more effectively. Most problems should take only a few minutes. Some point out pitfalls to avoid; others consist of two or more parts which look alike but actually contain significant differences. With repeated practice, students will reduce their error rate when programming.
  c++ workbook: C++ For Beginners Erick Myers, 2019-09 BUY IN PAPERBACK AND RECEIVE THE KINDLE VERSION FREE! Would you like to program with C ++ easily and quickly? However, programming is not easy to make sure it''s really on the market. Designing is an incredibly valuable task for the developers and members of each business. With this book, you can decode and encode programming languages. If you want to program, you can take your entrepreneurship to the next level. Everyone has the same potential, and it can easily happen that the laughter evolves. In some of the chapters of this book, we will show you several top websites that will help you to improve. With the help of this book, you can learn to соdе from dіffеrеnt programs like: · HTML & CSS · JAVA · PHP · JаvаSсrірt · Make a Website · Rubу on Rаіlѕ · Angulаr JS · SQl · Python · jQuery · MIT Oреn Courseware Table of Contents WHY YOU NEED THIS BOOK CONSTRUCTION OF CODE ADVANCED TIPS TO HELP PHP PROGRAMMERS IMPROVE THEIR PROGRAM CODE THE IMPORTANCE OF USING COMMENTS IN PHP PROGRAMMING LEARNING JAVA PROGRAMMING CODING LANGUAGE TIPS FOR LEARNING A NEW PROGRAMMING CODE PROGRAMMING, CODING AND WEB DEVELOPMENT LAPTOP SPECIFICATIONS HOW TO FIND A WEB SITE CODER IMPORTANCE OF CODING STANDARDS WHY HAVE CODING STANDARDS? A MANAGEMENT OVERVIEW HOW TO GET CHEAT CODES THE A+ PROGRAMMING LANGUAGE WHY DEVELOP A MICROSOFT ACCESS PROGRAM? CODE REVIEW - UNDERSTANDING STATISTIC CODE ANALYSIS CUSTOM CODING BASICS AND MORE BEST PLACE TO LEARN PROGRAMMING WHAT CODING LANGUAGES ARE USED TO DEVELOP IPHONE APPS? VISUAL BASIC 6: INTELLECTUAL PROPERTY AND CODE OWNERSHIP COMPUTER PROGRAMMING BASICS - LANGUAGE YOU CAN USE IN CREATING PROGRAMS 119 THE ADVANTAGES OF THE OPEN SOURCE WEB DEVELOPMENT PROGRAMS JAVA APPLICATION PROGRAMMING - COMPONENTS AND VARIOUS DEVELOPMENT TOOLS HOW TO WRITE YOUR VERY FIRST PHP PROGRAM DRAG AND DROP PROGRAMMING JAVA PROGRAMMING, A HELLO WORLD PROGRAM CODE GENERATORS FOR RAPID WEB DEVELOPMENT AVOID THE CYBER THREAT BY USING A SAFE PROGRAMMING LANGUAGE LEADING-EDGE COMPUTER PROGRAMMING STRATEGIES - MOCKING YOUR OBJECTS WHY IS IT IMPORTANT FOR A WEB DESIGNER TO KNOW HOW TO CODE? WHAT CAUSES RUNTIME ERROR IN COMPUTER PROGRAMS? MICROSOFT ACCESS PROGRA
  c++ workbook: C++ Algorithms for Digital Signal Processing Paul Embree, Damon Danieli, 1998-11-13 Bring the power and flexibility of C++ to all your DSP applications The multimedia revolution has created hundreds of new uses for Digital Signal Processing, but most software guides have continued to focus on outdated languages such as FORTRAN and Pascal for managing new applications. Now C++ Algorithms for Digital Signal Processing applies object-oriented techniques to this growing field with software you can implement on your desktop PC. C++ Algorithms for Digital Signal Processing's programming methods can be used for applications as diverse as: Digital audio and video Speech and image processing Digital communications Radar, sonar, and ultrasound signal processing Complete coverage is provided, including: Overviews of DSP and C++ Hands-on study with dozens of exercises Extensive library of customizable source code Import and Export of Microsoft WAV and Matlab data files Multimedia professionals, managers, and even advanced hobbyists will appreciate C++ Algorithms for Digital Signal Processing as much as students, engineers, and programmers. It's the ideal bridge between programming and signal processing, and a valuable reference for experts in either field. Source code for all of the DSP programs and DSP data associated with the examples discussed in this book and Appendix B and the file README.TXT which provide more information about how to compile and run the programs can be downloaded from www.informit.com/title/9780131791442
  c++ workbook: Professional C++ Nicholas A. Solter, Scott J. Kleper, 2005-01-07 Geared to experienced C++ developers who may not be familiar with the more advanced features of the language, and therefore are not using it to its full capabilities Teaches programmers how to think in C++-that is, how to design effective solutions that maximize the power of the language The authors drill down into this notoriously complex language, explaining poorly understood elements of the C++ feature set as well as common pitfalls to avoid Contains several in-depth case studies with working code that's been tested on Windows, Linux, and Solaris platforms
  c++ workbook: Real-Time C++ Christopher Kormanyos, 2019-01-11 With this book, Christopher Kormanyos delivers a highly practical guide to programming real-time embedded microcontroller systems in C++. It is divided into three parts plus several appendices. Part I provides a foundation for real-time C++ by covering language technologies, including object-oriented methods, template programming and optimization. Next, part II presents detailed descriptions of a variety of C++ components that are widely used in microcontroller programming. It details some of C++’s most powerful language elements, such as class types, templates and the STL, to develop components for microcontroller register access, low-level drivers, custom memory management, embedded containers, multitasking, etc. Finally, part III describes mathematical methods and generic utilities that can be employed to solve recurring problems in real-time C++. The appendices include a brief C++ language tutorial, information on the real-time C++ development environment and instructions for building GNU GCC cross-compilers and a microcontroller circuit. For this third edition, the most recent specification of C++17 in ISO/IEC 14882:2017 is used throughout the text. Several sections on new C++17 functionality have been added, and various others reworked to reflect changes in the standard. Also several new sample projects are introduced and existing ones extended, and various user suggestions have been incorporated. To facilitate portability, no libraries other than those specified in the language standard itself are used. Efficiency is always in focus and numerous examples are backed up with real-time performance measurements and size analyses that quantify the true costs of the code down to the very last byte and microsecond. The target audience of this book mainly consists of students and professionals interested in real-time C++. Readers should be familiar with C or another programming language and will benefit most if they have had some previous experience with microcontroller electronics and the performance and size issues prevalent in embedded systems programming.
  c++ workbook: Practical C++ Programming Steve Oualline, 2002-12-13 C++ is a powerful, highly flexible, and adaptable programming language that allows software engineers to organize and process information quickly and effectively. But this high-level language is relatively difficult to master, even if you already know the C programming language.The 2nd edition of Practical C++ Programming is a complete introduction to the C++ language for programmers who are learning C++. Reflecting the latest changes to the C++ standard, this 2nd edition takes a useful down-to-earth approach, placing a strong emphasis on how to design clean, elegant code.In short, to-the-point chapters, all aspects of programming are covered including style, software engineering, programming design, object-oriented design, and debugging. It also covers common mistakes and how to find (and avoid) them. End of chapter exercises help you ensure you've mastered the material.Practical C++ Programming thoroughly covers: C++ Syntax Coding standards and style Creation and use of object classes Templates Debugging and optimization Use of the C++ preprocessor File input/output Steve Oualline's clear, easy-going writing style and hands-on approach to learning make Practical C++ Programming a nearly painless way to master this complex but powerful programming language.
  c++ workbook: Programming Bjarne Stroustrup, 2014-06-02 An Introduction to Programming by the Inventor of C++ Preparation for Programming in the Real World The book assumes that you aim eventually to write non-trivial programs, whether for work in software development or in some other technical field. Focus on Fundamental Concepts and Techniques The book explains fundamental concepts and techniques in greater depth than traditional introductions. This approach will give you a solid foundation for writing useful, correct, maintainable, and efficient code. Programming with Today’s C++ (C++11 and C++14) The book is an introduction to programming in general, including object-oriented programming and generic programming. It is also a solid introduction to the C++ programming language, one of the most widely used languages for real-world software. The book presents modern C++ programming techniques from the start, introducing the C++ standard library and C++11 and C++14 features to simplify programming tasks. For Beginners—And Anyone Who Wants to Learn Something New The book is primarily designed for people who have never programmed before, and it has been tested with many thousands of first-year university students. It has also been extensively used for self-study. Also, practitioners and advanced students have gained new insight and guidance by seeing how a master approaches the elements of his art. Provides a Broad View The first half of the book covers a wide range of essential concepts, design and programming techniques, language features, and libraries. Those will enable you to write programs involving input, output, computation, and simple graphics. The second half explores more specialized topics (such as text processing, testing, and the C programming language) and provides abundant reference material. Source code and support supplements are available from the author’s website.
  c++ workbook: Professional C++ Marc Gregoire, Nicholas A. Solter, Scott J. Kleper, 2011-09-13 Essential reading for experienced developers who are determined to master the latest release of C++ Although C++ is often the language of choice from game programming to major commercial software applications, it is also one of the most difficult to master. With this no-nonsense book, you will learn to conquer the latest release of C++. The author deciphers little-known features of C++, shares detailed code examples that you can then plug into your own code, and reveals the significant changes to C++ that accompany the latest release. You'll discover how to design and build applications that solve real-world problems and then implement the solution using the full capabilities of the language. Appeals to experienced developers who are looking for a higher level of learning Drills down the extensive changes to the latest C++ standard, C++11, including enhancements made to run-time performance, standard library, language usability, and core language Zeroes in on explaining the more poorly understood elements of the C++ feature set and addresses common pitfalls to avoid Includes case studies that feature extensive, working code that has been tested on Windows and Linux platforms Intertwines text with useful tips, tricks, and workarounds Packed with best practices for programming, testing, and debugging applications, this book is vital for taking your C++ skills to the next level.
  c++ workbook: Murach's C++ Programming Mary Delamater, Joel Murach, 2018-09 In the beginning, C++ was a hard language to learn because it required programmers to master low-level techniques to work with memory. Over the years, C++ has evolved to provide higher-level techniques that make it much easier to write effective code. But most C++ books havent evolved with the language. Until now. Now, this book uses modern C++ to get you off to a fast start, and then builds out your coding and OOP skills to the professional level. At that point, it also covers older techniques so youll be able to maintain the vast amount of legacy code thats out there, as well as work with embedded systems that dont support the newer techniques.
  c++ workbook: Data Parallel C++ James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian, 2020-11-19 Learn how to accelerate C++ programs using data parallelism. This open access book enables C++ programmers to be at the forefront of this exciting and important new development that is helping to push computing to new levels. It is full of practical advice, detailed explanations, and code examples to illustrate key topics. Data parallelism in C++ enables access to parallel resources in a modern heterogeneous system, freeing you from being locked into any particular computing device. Now a single C++ application can use any combination of devices—including GPUs, CPUs, FPGAs and AI ASICs—that are suitable to the problems at hand. This book begins by introducing data parallelism and foundational topics for effective use of the SYCL standard from the Khronos Group and Data Parallel C++ (DPC++), the open source compiler used in this book. Later chapters cover advanced topics including error handling, hardware-specific programming, communication and synchronization, and memory model considerations. Data Parallel C++ provides you with everything needed to use SYCL for programming heterogeneous systems. What You'll Learn Accelerate C++ programs using data-parallel programming Target multiple device types (e.g. CPU, GPU, FPGA) Use SYCL and SYCL compilers Connect with computing’s heterogeneous future via Intel’s oneAPI initiative Who This Book Is For Those new data-parallel programming and computer programmers interested in data-parallel programming using C++.
  c++ workbook: Software Architecture with C++ Adrian Ostrowski, Piotr Gaczkowski, 2021-04-23 Apply business requirements to IT infrastructure and deliver a high-quality product by understanding architectures such as microservices, DevOps, and cloud-native using modern C++ standards and features Key FeaturesDesign scalable large-scale applications with the C++ programming languageArchitect software solutions in a cloud-based environment with continuous integration and continuous delivery (CI/CD)Achieve architectural goals by leveraging design patterns, language features, and useful toolsBook Description Software architecture refers to the high-level design of complex applications. It is evolving just like the languages we use, but there are architectural concepts and patterns that you can learn to write high-performance apps in a high-level language without sacrificing readability and maintainability. If you're working with modern C++, this practical guide will help you put your knowledge to work and design distributed, large-scale apps. You'll start by getting up to speed with architectural concepts, including established patterns and rising trends, then move on to understanding what software architecture actually is and start exploring its components. Next, you'll discover the design concepts involved in application architecture and the patterns in software development, before going on to learn how to build, package, integrate, and deploy your components. In the concluding chapters, you'll explore different architectural qualities, such as maintainability, reusability, testability, performance, scalability, and security. Finally, you will get an overview of distributed systems, such as service-oriented architecture, microservices, and cloud-native, and understand how to apply them in application development. By the end of this book, you'll be able to build distributed services using modern C++ and associated tools to deliver solutions as per your clients' requirements. What you will learnUnderstand how to apply the principles of software architectureApply design patterns and best practices to meet your architectural goalsWrite elegant, safe, and performant code using the latest C++ featuresBuild applications that are easy to maintain and deployExplore the different architectural approaches and learn to apply them as per your requirementSimplify development and operations using application containersDiscover various techniques to solve common problems in software design and developmentWho this book is for This software architecture C++ programming book is for experienced C++ developers looking to become software architects or develop enterprise-grade applications.
  c++ workbook: An Introduction to Object-Oriented Programming in C++ Graham M. Seed, 2012-12-06 Why Another Book on c++ and why Programming and Graphics? Anyone who has browsed through the 'Computing' section of a bookshop (assuming it has one) will not need much convincing that there are a lot of C++ books out there. So why add yet another to the shelf! This book attempts to introduce you to the C++ language via computer graphics because the object-oriented programming features of C++ naturally lend themselves to graphics. Thus, this book is based around a central theme: computer graphics and the development of 'real' object-oriented tools for graphical modelling. This approach is adopted (as opposed to learning by small, unrelated, often hypothetical, examples) because I didn't want to introduce C++ as a collection oflanguage features. While introducing the syntax and features of C++, it is just as important to demonstrate simultaneously the reason for such features and when to apply them - in otherwords,language and design are given equal priority. Also, a key objective in writing this book is to present you with a comprehensive introductory text on programming in the C++ language.
  c++ workbook: C++17 in Detail Bartlomiej Filipek, 2019 Describing all significant changes in the language and the Standard Library, this thorough book provides a lot of practical examples so you can quickly apply the knowledge to your code. --
  c++ workbook: Modern C++ Programming with Test-Driven Development Jeff Langr, 2013 If you program in C++ you've been neglected. Test-driven development (TDD) is a modern software development practice that can dramatically reduce the number of defects in systems, produce more maintainable code, and give you the confidence to change your software to meet changing needs. But C++ programmers have been ignored by those promoting TDD--until now. In this book, Jeff Langr gives you hands-on lessons in the challenges and rewards of doing TDD in C++. Modern C++ Programming With Test-Driven Development, the only comprehensive treatment on TDD in C++ provides you with everything you need to know about TDD, and the challenges and benefits of implementing it in your C++ systems. Its many detailed code examples take you step-by-step from TDD basics to advanced concepts. As a veteran C++ programmer, you're already writing high-quality code, and you work hard to maintain code quality. It doesn't have to be that hard. In this book, you'll learn: how to use TDD to improve legacy C++ systems how to identify and deal with troublesome system dependencies how to do dependency injection, which is particularly tricky in C++ how to use testing tools for C++ that aid TDD new C++11 features that facilitate TDD As you grow in TDD mastery, you'll discover how to keep a massive C++ system from becoming a design mess over time, as well as particular C++ trouble spots to avoid. You'll find out how to prevent your tests from being a maintenance burden and how to think in TDD without giving up your hard-won C++ skills. Finally, you'll see how to grow and sustain TDD in your team. Whether you're a complete unit-testing novice or an experienced tester, this book will lead you to mastery of test-driven development in C++. What You Need A C++ compiler running under Windows or Linux, preferably one that supports C++11. Examples presented in the book were built under gcc 4.7.2. Google Mock 1.6 (downloadable for free; it contains Google Test as well) or an alternate C++ unit testing tool. Most examples in the book are written for Google Mock, but it isn't difficult to translate them to your tool of choice. A good programmer's editor or IDE. cmake, preferably. Of course, you can use your own preferred make too. CMakeLists.txt files are provided for each project. Examples provided were built using cmake version 2.8.9. Various freely-available third-party libraries are used as the basis for examples in the book. These include:- cURL- JsonCpp- Boost (filesystem, date_time/gregorian, algorithm, assign)Several examples use the boost headers/libraries. Only one example uses cURL and JsonCpp.
  c++ workbook: Accelerated C++: Practical Programming By Example Andrew Koenig, 2000-09
  c++ workbook: Jumping Into C++ Alex Allain, 2013-04 Jumping into C++ covers every step of the programming process, including : * getting the tools you need to program and how to use them * basic language features like variables, loops and functions * how to go from an idea to code * a clear, understandable explanation of pointers * strings, file IO, arrays, references * classes, object oriented programming, and advanced class design * data structures and the standard template library (STL). Key concepts are reinforced with quizzes and over 75 practice problems. You'll also get over 70 sample source code files to use or adapt. [...] (extrait du résumé de quatrième de couverture).
  c++ workbook: Large-scale C++. John Lakos, 2016
  c++ workbook: The Boost C++ Libraries Boris Schäling, 2011 Boris Schaling has written the definitive introduction to the Boost C++ Libraries. Based on his popular web site, his book provides over 250 examples that show you how to get the most from this important library. You will learn how to use the libraries for event handling, multithreading, asynchronous I/O, parsing, string handling, and much more. His book will help you write more reliable code and become a more productive programmer. The Boost C++ Libraries complement the C++ standard by adding practical tools that any C++ developer can use in any C++ project. They are based on the C++ standard and many of the libraries will be incorporated into the next version of the standard. The software is freely available and the project is supported by a large developer community
  c++ workbook: Modern C++ and Windows Store Apps Sridhar Poduri, 2013-03 The native code resurgence is well under its way in today's mobile and device based computing environment. Learn firsthand how Microsoft is contributing to this renaissance through breath taking innovations like the Windows Runtime, C++11 standard implementation in the Visual C++ compiler, native XAML and DirectX support for Windows Store apps, C++AMP for GPGPU computing, Windows Azure Mobile Services support etc. Learn how you can apply your existing C++ skills to create compelling native applications for the Windows Store and begin building apps now. Use what you know about Visual C++ to write native Windows 8 apps that deliver rich, immersive experiences to your customers Gain insights from the author's experience on the Windows team and his work developing one of the first C++ with XAML apps for Windows 8 Learn how to quickly prototype and build apps using a variety of native libraries in Windows 8. Build on what you know-and extend your expertise-by learning how to use C++ with XAML and DirectX to create Windows Store apps. Learn how to share code between your native Windows 8 app and Windows Phone apps.
  c++ workbook: C++ Lambda Story Bartlomiej Filipek, 2021-02 This book shows the story of lambda expressions in C++. You'll learn how to use this powerful feature in a step-by-step manner, slowly digesting the new capabilities and enhancements that come with each revision of the C++ Standard. This is a Black and White version. The full-colour print is also available but more expensive. We'll start with C++98/03, and then we'll move on to the latest C++ Standards. C++98/03 - how to code without lambda support. What was the motivation for the new modern C++ feature? C++11 - early days. You'll learn about all the elements of a lambda expression and even some tricks. This is the longest chapter as we need to cover a lot. C++14 - updates. Once lambdas were adopted, we saw some options to improve them. C++17 - more improvements, especially by handling this pointer and allowing constexpr. C++20 - in this section we'll have a look at the latest and very fresh C++20 Standard. Additionally, throughout the chapters, you'll learn about the following techniques: Immediately Invoked Functional Expressions (IIFE) How to instrument a default functor to gather extra information Replacing std:: bind1st, std:: bind2nd and removed functional stuff The Overloaded Pattern and how to inherit from a lambda Passing C++ captureless lambda as a function pointer to C API LIFTING with lambdas Storing lambdas in a container Variadic templates and arguments packs Lambdas and asynchronous execution and many more All equipped with more than 85 runnable code samples!
  c++ workbook: A First Book of C++ Gary J. Bronson, 2011-02-11 Gary Bronson's A FIRST BOOK OF C++, 4e, International Edition takes a hands-on, applied approach to the first programming language course for students studying computer science. The book begins with procedural programming in C, and then gradually introduces object-oriented programming features and the C++ language syntax that enables first-time programmers to use them.
  c++ workbook: Advanced CORBA Programming with C++ Michi Henning, Steve Vinoski, 1999 Advanced CORBA Programming with C++ provides designers and developers with the tools required to understand CORBA technology at the architectural, design, and source code levels. This book offers hands-on explanations for building efficient applications, as well as lucid examples that provide practical advice on avoiding costly mistakes. With this book as a guide, programmers will find the support they need to successfully undertake industrial-strength CORBA development projects.
  c++ workbook: Absolute C++ Walter J. Savitch, 2013 This text provides a comprehensive and accessible C++ programming guide for both the novice and intermediate programming student. Concepts and techniques are presented in a clear and concise style, giving readers the opportunity to master key topics.
  c++ workbook: Embracing Modern C++ Safely John Lakos, Vittorio Romeo, Rostislav Khlebnikov, Alisdair Meredith, 2021-12-23 In Embracing Modern C++ Safely, John Lakos and Vittorio Romeo analyze each core language feature of Modern C++ (introduced by C++11 and C++14), illuminating exactly what developers and teams must know to succeed. Lakos and Romeo present extensive real-life code examples; thoroughly describe pitfalls that arise when engineers with diverse experience use these features together, and illuminate issues that repeatedly occur in real-world application development. Drawing on their extensive C++ experience, they focus on major features of C++ 14 and C++ 11 that have been around long enough to be thoroughly evaluated. You will learn which modern features are safe under almost all circumstances; which carry a real risk of misuse and suboptimal results if programmers are improperly educated and trained; and which are generally unsafe, and should be used rarely if at all. If you are ready to safely make the most of Modern C++, the in-depth, hands-on insights from this guide will help you improve your productivity and build far more robust software.
  c++ workbook: C++ for Kids Sterling Childrens, 2016-07-19 A guide for young computer enthusiasts presents simple instructions for programming in C++.
  c++ workbook: C++ Programming 101 Greg M. Perry, 1992 Step-by-step instructions and lessons for writing programs with C. Dozens of examples show readers exactly what to do. Special debugging section. Very useful appendices make difficult information easy to find.
301 Moved Permanently
301 Moved Permanently. nginx/1.18.0 (Ubuntu)

301 Moved Permanently
301 Moved Permanently. nginx/1.18.0 (Ubuntu)