Cargando…

Beginning programming with C++ for dummies /

This updated guide explores the basic development concepts and techniques of C++ from a beginner's point of view, and helps make sense of the how and why of C++ programming from the ground up. Beginning with an introduction to how programming languages function, the book goes on to explore how...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Davis, Stephen R., 1956- (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Hoboken, New Jersey : John Wiley & Sons, Inc., 2015.
Edición:Second edition.
Colección:--For dummies.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Title Page; Copyright Page; Table of Contents; Introduction; About This Book; Foolish Assumptions; How This Book Is Organized; Part I: Getting Started with C++ Programming; Part II: Writing a Program: Decisions, Decisions; Part III: Becoming a Procedural Programmer; Part IV: Data Structures; Part V: Object-Oriented Programming; Part VI: Advanced Strokes; Part VII: The Part of Tens; Icons Used in This Book; Beyond the Book; Where to Go from Here; Part I: Getting Started with C++ Programming; Chapter 1: What Is a Program?; How Does My Son Differ from a Computer?; Programming a "Human Computer"
  • Creating the algorithmSetting the tire-changing language; Constructing the program; Computer processors; Computer Languages; High-level languages; The C++ language; Chapter 2: Installing Code::Blocks; Reviewing the Compilation Process; Installing Code::Blocks; Windows installation; Ubuntu Linux installation; Mac OS installation; Setting up Code::Blocks; Testing the Code::Blocks Installation; Creating the project; Testing your default project; Chapter 3: Writing Your First Program; Creating a New Project; Filename extensions; Entering Your Program; Building the Program
  • Finding What Could Go WrongMisspelled commands; Missing semicolon; Using the Online Material; Running the Program; How the Program Works; The template; The Conversion program; Part II: Writing a Program: Decisions, Decisions; Chapter 4: Integer Expressions; Declaring Variables; Variable names; Assigning a value to a variable; Initializing a variable at declaration; Integer Constants; Expressions; Binary operators; Unraveling compound expressions; Unary Operators; The Special Assignment Operators; Chapter 5: Character Expressions; Defining Character Variables; Encoding characters
  • Example of character encodingEncoding Strings of Characters; Special Character Constants; Chapter 6: if I Could Make My Own Decisions; The if Statement; Comparison operators; Say "No" to "No braces"; What Else Is There?; Nesting if Statements; Compound Conditional Expressions; Chapter 7: Switching Paths; Controlling Flow with the switch Statement; Control Fell Through: Did I break It?; Implementing an Example Calculator with the switch Statement; Chapter 8: Debugging Your Programs, Part I; Identifying Types of Errors; Avoiding Introducing Errors; Coding with style
  • Establishing variable naming conventionsFinding the First Error with a Little Help; Finding the Run-Time Error; Formulating test data; Executing the test cases; Seeing what's going on in your program; Part III: Becoming a Procedural Programmer; Chapter 9: while Running in Circles; Creating a while Loop; Breaking out of the Middle of a Loop; Nested Loops; Chapter 10: Looping for the Fun of It; The for Parts of Every Loop; Looking at an Example; Getting More Done with the Comma Operator; Chapter 11: Functions, I Declare!; Breaking Your Problem Down into Functions