Practical C++ programming /
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 P...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Sebastopol, Calif. ; Farnham :
O'Reilly,
2003.
|
Edición: | 2nd ed. |
Colección: | Nutshell handbook.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Table of Contents; Preface; Scope of This Handbook; How This Book Is Organized; How to Read This Book If You Already Know C; Font Conventions; How to Contact Us; Acknowledgments for the First Edition; Acknowledgments for the Second Edition; Part I; What Is C++?; A Brief History of C++; C++ Organization; How to Learn C++; The Basics of Program Writing; Programs from Conception to Execution; Creating a Real Program; Creating a Program Using a Command-Line Compiler; Step 1: Create a place for your program; Step 2: Create the program; Step 3: Run the compiler; Step 4: Execute the program.
- Creating a Program Using an Integrated Development EnvironmentBorland C++; Microsoft Visual C++; Getting Help in Unix; Getting Help in an IDE; Programming Exercises; Style; Comments; C++ Code; Naming Style; Coding Religion; Indentation and Code Format; Clarity; Simplicity; Consistency and Organization; Further Reading; Summary; Basic Declarations and Expressions; Basic Program Structure; Simple Expressions; The std::cout Output Object; Variables and Storage; Variable Declarations; Integers; Assignment Statements; Floating-Point Numbers; Floating-Point Divide Versus Integer Divide; Characters.
- Wide CharactersBoolean Type; Programming Exercises; Answers to Chapter Questions; Arrays, Qualifiers, and Reading Numbers; Arrays; Strings; Wide Strings; Reading Data; Initializing Variables; Bounds Errors; Multidimensional Arrays; C-Style Strings; Safety and C Strings; Reading C-Style Strings; Converting Between C-Style and C++ Strings; The Differences Between C++ and C-Style Strings; Types of Integers; Summary of Integer Types; Types of Floats; Constant and Reference Declarations; Qualifiers; Special; Constant; Storage Class; Size; Sign; Type; Hexadecimal and Octal Constants.
- Operators for Performing ShortcutsSide Effects; Programming Exercises; Answers to Chapter Questions; Decision and Control Statements; if Statement; else Statement; How Not to Use std::strcmp; Looping Statements; while Statement; break Statement; continue Statement; The Assignment Anywhere Side Effect; Programming Exercises; Answers to Chapter Questions; The Programming Process; Setting Up Your Work Area; The Specification; Code Design; The Prototype; The Makefile; Testing; Debugging; Maintenance; Revisions; Electronic Archaeology; Mark Up the Program; Use the Debugger.
- Use the Text Editor as a BrowserAdd Comments; Programming Exercises; Part II; More Control Statements; for Statement; switch Statement; switch, break, and continue; Programming Exercises; Answers to Chapter Questions; Variable Scope and Functions; Scope and Storage Class; The for Scope; Namespaces; Namespace std; Global Namespace; File-Specific Namespace; Nested Namespaces; The using Statement; The problem with the using statement; Functions; Returning void; Namespaces and Functions; const Parameters and Return Values; Reference Parameters and Return Values; Dangling References.