C++ for dummies

Enter the world of computer programming with this step-by-step guide to the C++ language! C++ is a great introduction to object-oriented programming, and this friendly guide covers everything you need to know and nothing you don't. You'll write your first program by the end of Chapter 1. C...

Descripción completa

Detalles Bibliográficos
Otros Autores: Davis, Stephen R., author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Hoboken, New Jersey : John Wiley & Sons Inc 2009.
Edición:6th ed
Colección:--For dummies.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627816606719
Tabla de Contenidos:
  • About the Author; Contents at a Glance; Table of Contents; Introduction; Part I Introduction to C++ Programming; Chapter 1 Writing Your First C++ Program; Grasping C++ Concepts; Installing Code:: Blocks; Creating Your First C++ Program; Executing Your Program; Reviewing the Annotated Program; Calculating Expressions; Chapter 2 Declaring Variables Constantly; Declaring Variables; Declaring Different Types of Variables; Declaring Variable Types; Wide Loads on Char Highway; Are These Calculations Really Logical?; Mixed Mode Expressions; Automatic Declarations
  • Chapter 3 Performing Mathematical OperationsPerforming Simple Binary Arithmetic; Decomposing Expressions; Determining the Order of Operations; Performing Unary Operations; Using Assignment Operators; Chapter 4 Performing Logical Operations; Why Mess with Logical Operations?; Using the Simple Logical Operators; Expressing Binary Numbers; Performing Bitwise Logical Operations; Chapter 5 Controlling Program Flow; Controlling Program Flow with the Branch Commands; Executing Loops in a Program; Nesting Control Commands; Switching to a Different Subject?
  • Part II Becoming a Functional C++ ProgrammerChapter 6 Creating Functions; Writing and Using a Function; Understanding the Details of Functions; Overloading Function Names; Defining Function Prototypes; Variable Storage Types; Chapter 7 Storing Sequences in Arrays; Arraying the Arguments for Arrays; Using Arrays of Characters; Manipulating Strings with Character; Adding Some Library Functions; Making Room for Wide Strings; Chapter 8 Taking a First Look at C++ Pointers; Variable Size; What's in an Address?; Address Operators; Using Pointer Variables; Passing Pointers to Functions
  • Constant const IrritationMaking Use of a Block of Memory Called the Heap; Chapter 9 Taking a Second Look at C++ Pointers; Defining Operations on Pointer Variables; When Is a Pointer Not?; Declaring and Using Arrays of Pointers; Chapter 10 The C++ Preprocessor; What Is a Preprocessor?; Including Files; # Defining Things; Including Things # if I Say So; Intrinsically Defined Objects; Typedef; Part III Introduction to Classes; Chapter 11 Examining Object-Oriented Programming; Abstracting Microwave Ovens; Classifying Microwave Ovens; Why Classify?; Chapter 12: Adding Class to C++
  • Introducing the ClassThe Format of a Class; Accessing the Members of a Class; Activating Our Objects; Adding a Member Function; Calling a Member Function; Scope Resolution (And I Don't Mean How Well Your Microscope Works); Defining a Member Function in the Class; Keeping a Member Function After Class; Overloading Member Functions; Chapter 13 Point and Stare at Objects; Declaring Arrays of Objects; Declaring Pointers to Objects; Passing Objects to Functions; Why Bother with Pointers or References?; Returning to the Heap; Comparing Pointers to References; Linking Up with Linked Lists
  • A Ray of Hope: A List of Containers Linked to the C++ Library