ENGLISH

Beginning Programming with C++ For Dummies

Book information

Publisher
John Wiley & Sons
ISBN
9781118823934, 9781118823873, 1118823877, 9781118823897, 1118823893, 1118823931
Language
english
Format
EPUB
Filesize
4 MB (4689069 bytes)
Series
For dummies
Edition
Second edition
Pages
(x, 444 pages) : illustrations\0
Time added
2020-07-26 19:24:52

Description

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";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 to work with integer expressions and character expressions, keep errors out of code, use loops and functions, divide code into modules, and become a functional programmer. It covers how to master basic development concepts and techniques in C++ and get rid of bugs and write programs that work. All the code from the book and an updated C++ compiler is on the companion website. -- 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

Similar books