Cargando…

Exploring C++20 : the programmer's introduction to C++ /

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...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Lischner, Ray, 1961-
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [United States] : Apress, 2020.
Edición:3rd ed.
Colección:ITpro collection
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Intro
  • Table of Contents
  • About the Author
  • About the Technical Reviewer
  • Acknowledgments
  • Introduction
  • Part I: The Basics
  • Exploration 1: Honing Your Tools
  • C++ Versions
  • Ray's Recommendations
  • Clang and LLVM
  • GNU Compiler Collection
  • Microsoft Windows
  • Other Tools
  • Read the Documentation
  • Your First Program
  • Exploration 2: Reading C++ Code
  • Comments
  • Modules
  • Main Program
  • Variable Definitions
  • Statements
  • Output
  • Exploration 3: Integer Expressions
  • Exploration 4: Strings
  • Exploration 5: Simple Input
  • Exploration 6: Error Messages
  • Misspelling
  • Bogus Character
  • Unknown Operator
  • Unknown Name
  • Symbol Errors
  • Fun with Errors
  • Exploration 7: More Loops
  • Bounded Loops
  • Initialization
  • Condition
  • Postiteration
  • How a for Loop Works
  • Your Turn
  • Exploration 8: Formatted Output
  • The Problem
  • Field Width
  • Fill Character
  • std Prefix
  • Alignment
  • Exploring Formatting
  • Alternative Syntax
  • On Your Own
  • The format Function
  • Exploration 9: Arrays and Vectors
  • Vectors for Arrays
  • Vectors
  • Ranges and Algorithms
  • Exploration 10: Algorithms and Ranges
  • Algorithms
  • Output Iterators
  • Exploration 11: Increment and Decrement
  • Increment
  • Decrement
  • Member Types
  • Back to Iterators
  • Exploration 12: Conditions and Logic
  • I/O and bool
  • Boolean Type
  • Logic Operators
  • Old-Fashioned Syntax
  • Comparison Operators
  • Exploration 13: Compound Statements
  • Statements
  • Local Definitions and Scope
  • Definitions in for Loop Headers
  • Exploration 14: Introduction to File I/O
  • Reading Files
  • Writing Files
  • Exploration 15: The Map Data Structure
  • Using Maps
  • Pairs
  • Searching in Maps
  • Exploration 16: Type Synonyms
  • typedef and using Declarations
  • Common typedefs
  • Exploration 17: Characters
  • Character Type
  • Character I/O
  • Newlines and Portability
  • Character Escapes
  • Exploration 18: Character Categories
  • Character Sets
  • Character Categories
  • Locales
  • Exploration 19: Case-Folding
  • Simple Cases
  • Harder Cases
  • Exploration 20: Writing Functions
  • Functions
  • Function Call
  • Declarations and Definitions
  • Counting Words-Again
  • The main() Function
  • Exploration 21: Function Arguments
  • Argument Passing
  • Pass-by-Reference
  • const References
  • const_iterator
  • String Arguments
  • Multiple Output Parameters
  • Exploration 22: Using Ranges
  • Transforming Data
  • Predicates
  • Other Algorithms
  • Exploration 23: Using Iterators
  • Transforming Data
  • Sorting with Iterators
  • Exploration 24: Unnamed Functions
  • Lambdas
  • Naming an Unnamed Function
  • Capturing Local Variables
  • const Capture
  • Return Type
  • Exploration 25: Overloading Function Names
  • Overloading
  • bool is_alpha(char ch)
  • bool is_alpha(std::string_view str)
  • char to_lower(char ch)
  • std::string to_lower(std::string_view str)
  • char to_upper(char ch)
  • std::string to_upper(std::string_view str)