Cargando…

Professional C++, third edition /

From game programming to major commercial software applications, C++ is the language of choice. It is also one of the most difficult programming languages to master. This third edition, substantially revised and revamped, shows experienced developers how to master the latest release of C++. More adv...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Gregoire, Marc
Otros Autores: Van Weert, Peter (Editor )
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Indianapolis, Ind. : Wrox, ©2014.
Edición:3rd ed.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Professional C++; Copyright; Contents; Introduction; Who This Book Is For; What This Book Covers; How This Book Is Structured; What You Need to Use This Book; Microsoft Visual C++; GCC; Conventions; Source Code; Errata; P2P. Wrox.Com; Part I: Introduction to Professional C++; Chapter 1: A Crash Course in C++ and the STL; The Basics of C++; The Obligatory Hello, World; Namespaces; Variables; Literals; Operators; Types; Conditionals; Arrays; Loops; Functions; Type Inference Part 1; Those Are the Basics; Diving Deeper into C++; Pointers and Dynamic Memory; References; Strings in C++; Exceptions.
  • The Many Uses of constType Inference Part 2; C++ as an Object-Oriented Language; Defining a Class; The Standard Library; std::vector; Your First Useful C++ Program; An Employee Records System; The Employee Class; The Database Class; The User Interface; Evaluating the Program; Summary; Chapter 2: Working with Strings; Dynamic Strings; C-Style Strings; String Literals; The C++ string Class; Raw String Literals; Nonstandard Strings; Summary; Chapter 3: Coding with Style; The Importance of Looking Good; Thinking Ahead; Elements of Good Style; Documenting Your Code; Reasons to Write Comments.
  • Commenting StylesComments in This Book; Decomposition; Decomposition through Refactoring; Decomposition by Design; Decomposition in This Book; Naming; Choosing a Good Name; Naming Conventions; Using Language Features with Style; Use Constants; Use References Instead of Pointers; Use Custom Exceptions; Formatting; The Curly Brace Alignment Debate; Coming to Blows over Spaces and Parentheses; Spaces and Tabs; Stylistic Challenges; Summary; Part II: Professional C++ Software Design; Chapter 4: Designing Professional C++ Programs; What Is Programming Design?; The Importance of Programming Design.
  • Designing for C++Two Rules for C++ Design; Abstraction; Reuse; Reusing Code; A Note on Terminology; Deciding Whether or Not to Reuse Code; Strategies for Reusing Code; Bundling Third-Party Applications; Open-Source Libraries; The C++ Standard Library; Designing with Patterns and Techniques; Designing a Chess Program; Requirements; Design Steps; Summary; Chapter 5: Designing with Objects; Am I Thinking Procedurally?; The Object-Oriented Philosophy; Classes; Components; Properties; Behaviors; Bringing It All Together; Living in a World of Objects; Overobjectification; Overly General Objects.
  • Object RelationshipsThe Has-A Relationship; The Is-A Relationship (Inheritance); The Fine Line between Has-A and Is-A; The Not-A Relationship; Hierarchies; Multiple Inheritance; Mixin Classes; Abstraction; Interface versus Implementation; Deciding on an Exposed Interface; Designing a Successful Abstraction; Summary; Chapter 6: Designing for Reuse; The Reuse Philosophy; How to Design Reusable Code; Use Abstraction; Structure Your Code for Optimal Reuse; Design Usable Interfaces; Reconciling Generality and Ease of Use; Summary; Part III: Coding the Professional Way.