Cargando…

Beginning programming with C++ for dummies /

Learn to program with C++ quickly with this helpful For Dummies guide Beginning Programming with C++ For Dummies, 2<sup>nd</sup> Edition gives you plain-English explanations of the fundamental principles of C++, arming you with the skills and know-how to expertly use one of the world...

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 : John Wiley & Sons, [2014]
Edición:Second edition.
Colección:--For dummies.
Temas:
Acceso en línea:Texto completo
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 algorithm; Setting 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 ProgramFinding What Could Go Wrong; Misspelled 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 charactersExample of character encoding; Encoding 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.