Beginning C++17 : from novice to professional /
Learn how to program using the updated C++17 language. You'll start with the basics and progress through step-by-step examples to become a working C++ programmer. All you need are Beginning C++17 and any recent C++ compiler and you'll soon be writing real C++ programs. There is no assumpti...
Clasificación: | Libro Electrónico |
---|---|
Autores principales: | , |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[Berkeley, CA] :
Apress,
2018.
|
Edición: | Fifth edition. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Intro; Contents; About the Authors; About the Technical Reviewer; Introduction; Chapter 1: Basic Ideas; Modern C++; Standard Libraries; C++ Program Concepts; Source Files and Header Files; Comments and Whitespace; Preprocessing Directives and Standard Library Headers; Functions; Statements; Data Input and Output; return Statements; Namespaces; Names and Keywords; Classes and Objects; Templates; Code Appearance and Programming Style; Creating an Executable; Procedural and Object-Oriented Programming; Representing Numbers; Binary Numbers; Hexadecimal Numbers; Negative Binary Numbers.
- Octal ValuesBi-Endian and Little-Endian Systems; Floating-Point Numbers; Representing Characters; ASCII Codes; UCS and Unicode; C++ Source Characters; Escape Sequences; Summary; Chapter 2: Introducing Fundamental Types of Data; Variables, Data, and Data Types; Defining Integer Variables; Signed Integer Types; Unsigned Integer Types; Zero Initialization; Defining Variables with Fixed Values; Integer Literals; Decimal Integer Literals; Hexadecimal Literals; Octal Literals; Binary Literals; Calculations with Integers; Compound Arithmetic Expressions; Assignment Operations.
- The op= Assignment OperatorsThe sizeof Operator; Incrementing and Decrementing Integers; Postfix Increment and Decrement Operations; Defining Floating-Point Variables; Floating-Point Literals; Floating-Point Calculations; Pitfalls; Invalid Floating-Point Results; Mathematical Functions; Formatting Stream Output; Mixed Expressions and Type Conversion; Explicit Type Conversion; Old-Style Casts; Finding the Limits; Finding Other Properties of Fundamental Types; Working with Character Variables; Working with Unicode Characters; The auto Keyword; Summary.
- Chapter 3: Working with Fundamental Data TypesOperator Precedence and Associativity; Bitwise Operators; The Bitwise Shift Operators; Shifting Signed Integers; Logical Operations on Bit Patterns; Using the Bitwise AND; Using the Bitwise OR; Using the Bitwise Complement Operator; Using the Bitwise Exclusive OR; Using the Bitwise Operators: An Example; Enumerated Data Types; Aliases for Data Types; The Lifetime of a Variable; Global Variables; Summary; Chapter 4: Making Decisions; Comparing Data Values; Applying the Comparison Operators; Comparing Floating-Point Values; The if Statement.
- Nested if StatementsCharacter Classification and Conversion; The if-else Statement; Nested if-else Statements; Understanding Nested ifs; Logical Operators; Logical AND; Logical OR; Logical Negation; Combining Logical Operators; Logical Operators on Integer Operands; Logical Operators vs. Bitwise Operators; Short-Circuit Evaluation; Logical XOR; The Conditional Operator; The switch Statement; Fallthrough; Statement Blocks and Variable Scope; Initialization Statements; Summary; Chapter 5: Arrays and Loops; Arrays; Using an Array; Understanding Loops; The for Loop; Avoiding Magic Numbers.