Exploring C++20


Book Description

Discover everything you need to know about C++ in a logical progression of small lessons that you can work through as quickly or as slowly as you need. This book divides C++ up into bite-sized chunks that will help you learn the language one step at a time. Fully updated to include C++20, it assumes no familiarity with C++ or any other C-based language. Exploring C++20 acknowledges that C++ can be a complicated language, so rather than baffle you with complex chapters explaining functions, classes, and statements in isolation you’ll focus on how to achieve results. By learning a little bit of this and a little of that you’ll soon have amassed enough knowledge to be writing non-trivial programs and will have built a solid foundation of experience that puts those previously baffling concepts into context. In this fully-revised second edition of Exploring C++, you’ll learn how to use the standard library early in the book. Next, you’ll work with operators, objects, and data-sources in increasingly realistic situations. Finally, you’ll start putting the pieces together to create sophisticated programs of your own design confident that you’ve built a firm base of experience from which to grow. What You Will Learn Grasp the basics, including compound statements, modules, and more Work with custom types and see how to use them Write useful algorithms, functions, and more Apply your skills to projects that include a fixed-point numbers and body-mass index applications Carry out generic programming and apply it in a practical project Exploit multiple inheritance, traits/policies, overloaded functions, and metaprogramming Who This Book Is For Experienced programmers who may have little or no experience with C++ who want an accelerated learning guide to C++20 so they can hit the ground running.




Exploring C+


Book Description




Exploring C++


Book Description

This is a book about learning by doing and is aimed at programmers familiar with programming, but not C++. The key exercises are not simply listed at the end of the chapter, but are integrated into the main text. Readers work hands-on throughout the book. Each lesson poses numerous questions, asking readers to write answers directly in the book. The book includes answers to all questions, so readers can check their work. These exercises are not simple cookbook-style recipes (e.g., "Write a program to do xyz"). Instead, they are explorations—structured labs that guide readers through a series of steps to highlight specific features of C++.







Exploring C for Microcontrollers


Book Description

Unlike traditional embedded systems references, this book skips routine things to focus on programming microcontrollers, specifically MCS-51 family in ‘C’ using Keil IDE. The book presents seventeen case studies plus many basic programs organized around on-chip resources. This "learn-through-doing" approach appeals to busy designers. Mastering basic modules and working hands-on with the projects gives readers the basic building blocks for most 8051 programs. Whether you are a student using MCS-51 microcontrollers for project work or an embedded systems programmer, this book will kick-start your practical understanding of the most popular microcontroller, bridging the gap between microcontroller hardware experts and C programmers.




Python for Everybody


Book Description

Python for Everybody is designed to introduce students to programming and software development through the lens of exploring data. You can think of the Python programming language as your tool to solve data problems that are beyond the capability of a spreadsheet.Python is an easy to use and easy to learn programming language that is freely available on Macintosh, Windows, or Linux computers. So once you learn Python you can use it for the rest of your career without needing to purchase any software.This book uses the Python 3 language. The earlier Python 2 version of this book is titled "Python for Informatics: Exploring Information".There are free downloadable electronic copies of this book in various formats and supporting materials for the book at www.pythonlearn.com. The course materials are available to you under a Creative Commons License so you can adapt them to teach your own Python course.




Sun Lore of All Ages


Book Description




Exploring Raspberry Pi


Book Description

Expand Raspberry Pi capabilities with fundamental engineering principles Exploring Raspberry Pi is the innovators guide to bringing Raspberry Pi to life. This book favors engineering principles over a 'recipe' approach to give you the skills you need to design and build your own projects. You'll understand the fundamental principles in a way that transfers to any type of electronics, electronic modules, or external peripherals, using a "learning by doing" approach that caters to both beginners and experts. The book begins with basic Linux and programming skills, and helps you stock your inventory with common parts and supplies. Next, you'll learn how to make parts work together to achieve the goals of your project, no matter what type of components you use. The companion website provides a full repository that structures all of the code and scripts, along with links to video tutorials and supplementary content that takes you deeper into your project. The Raspberry Pi's most famous feature is its adaptability. It can be used for thousands of electronic applications, and using the Linux OS expands the functionality even more. This book helps you get the most from your Raspberry Pi, but it also gives you the fundamental engineering skills you need to incorporate any electronics into any project. Develop the Linux and programming skills you need to build basic applications Build your inventory of parts so you can always "make it work" Understand interfacing, controlling, and communicating with almost any component Explore advanced applications with video, audio, real-world interactions, and more Be free to adapt and create with Exploring Raspberry Pi.




Exploring C++ 11


Book Description

Exploring C++ divides C++ up into bite-sized chunks that will help you learn the language one step at a time. Assuming no familiarity with C++, or any other C-based language, you’ll be taught everything you need to know in a logical progression of small lessons that you can work through as quickly or as slowly as you need. C++ can be a complicated language. Writing even the most straight-forward of programs requires you to understand many disparate aspects of the language and how they interact with one another. C++ doesn't lend itself to neat compartmentalization the way other languages do. Rather than baffle you with complex chapters explaining functions, classes and statements in isolation we’ll focus on teaching you how to achieve results. By learning a little bit of this and a little of that you’ll soon have amassed enough knowledge to be writing non-trivial programs and will have built a solid foundation of experience that puts those previously baffling concepts into context. In this fully-revised second edition of Exploring C++, you’ll learn how to use the standard library early in the book. Next, you’ll learn to work with operators, objects and data-sources in increasingly realistic situations. Finally, you’ll start putting the pieces together to create sophisticated programs of your own design confident that you’ve built a firm base of experience from which to grow. What you’ll learn Learn how to use C++ from first principles in a practical hands-on way. Understand how to use Custom types, virtual functions and objects to structure your code Build your own function templates, namespaces and containers from the ground up. Put everything together to create sophisticated programs that work with pointers, dynamic memory and overloaded functions to achieve the results you want. Who this book is for Read this book if you want to learn C++ and have a basic understanding of how computer programs work. You don't need to know a C-based language before you start, but a basic understanding of how programs are structured is helpful. Table of Contents Part 1: The Basics - Honing your tools Part 1: The Basics -Reading C++ Code Part 1: The Basics -Integer Expressions Part 1: The Basics -Strings Part 1: The Basics -Simple Input Part 1: The Basics -Error Messages Part 1: The Basics -For Loops Part 1: The Basics -Formatted Output Part 1: The Basics -Arrays and Vectors Part 1: The Basics -Incrementand Decrement Part 1: The Basics -Conditions and Logic Part 1: The Basics -Compound Statements Part 1: The Basics -Introduction to File I/O Part 1: The Basics -The Map Data Structure Part 1: The Basics -Type Synonyms Part 1: The Basics -Characters Part 1: The Basics -Character Categories Part 1: The Basics -Case-Folding Part 1: The Basics -Writing Functions Part 1: The Basics -Function Arguments Part 1: The Basics -Using Algorithms Part 1: The Basics -Overloading Function Names Part 1: The Basics -Big and Little Numbers Part 1: The Basics -Very Big and Very Little Numbers Part 1: The Basics -Documentation Part 1: The Basics -Project1: Body-Mass Index Part 2: Custom Types - Custom Types Part 2: Custom Types - Overloading Operators Part 2: Custom Types - Custom I/O Operators Part 2: Custom Types - Assignment and Initialization Part 2: Custom Types - Writing Classes Part 2: Custom Types - More About Member Functions Part 2: Custom Types - Access Levels Part 2: Custom Types - Introduction to Object-Oriented Programming Part 2: Custom Types - Inheritance Part 2: Custom Types - Virtual Functions Part 2: Custom Types - Classes and Types Part 2: Custom Types - Declarations and Definitions Part 2: Custom Types - Using Multiple Source Files Part 2: Custom Types - Function Objects Part 2: Custom Types - Useful Algorithms Part 2: Custom Types - Iterators Part 2: Custom Types - Exceptions Part 2: Custom Types - More Operators Part 2: Custom Types - Project2: Fixed-point Numbers Part 3: Generic Programming - Function Templates Part 3: Generic Programming - Class Templates Part 3: Generic Programming - Template Specialization Part 3: Generic Programming - Partial Specialization Part 3: Generic Programming - Names and Namespaces Part 3: Generic Programming - Containers Part 3: Generic Programming - International Characters Part 3: Generic Programming - Locales and Facets Part 3: Generic Programming - TextI/O Part 3: Generic Programming - Project3: Currency Type Part 4: Real Programming - Pointers Part 4: Real Programming - Dynamic Memory Part 4: Real Programming - Exception-Safety Part 4: Real Programming - Old-Fashioned Arrays Part 4: Real Programming - SmartPointers Part 4: Real Programming - Working with Bits Part 4: Real Programming - Enumerations Part 4: Real Programming - Multiple Inheritance Part 4: Real Programming - Traits and Policies Part 4: Real Programming - Names and Templates Part 4: Real Programming - Overloaded Functions Part 4: Real Programming - Metaprogramming Part 4: Real Programming - Project4: Calculator




A Computer Science Tapestry


Book Description

An introduction to computer science and programming, using the C++ language and object-oriented concepts to teach students to program by reading and using classes before writing them. Includes a CD-ROM that features C++ 6.0 compiler.