جزییات کتاب
Heres programming made easy (and fun!) with this guide to the popular C++ languageSo youre dreaming of the exciting life of a programmer? You can make it happen with this book! Even if you barely know what programming is, you can learn to «speak» the C++ language, install and use the compiler, work with loops, understand objects and classes, get rid of bugs, and write real programs that work. Its all in these pages!How the thing thinks — understand what a computer needs to work, what an algorithm is, and how programming languages functionTools of the trade — install Code::Blocks, use the integrated development environment, and write your first programExpress yourself — learn to write simple expressions, declare integer variables, and make decisions within a programLove loops — use loops and functions, divide your code into modules, eliminate bugs, and master the C++ pointerThink objectively — grasp object-oriented programming concepts and work with classes and objectsOpen the book and find:What a programming language must doHow to work with integer expressions and character expressionsTips for keeping errors out of your codeFour essential parts of a loopDifferent numerical variable typesWhy C++ pointers are importantHow to use constructors and destructorsAdvanced language features youll want to knowLearn to:Think like a programmer and understand how C++ worksCreate programs and get bugs out of your codeMaster basic development concepts and techniques in C++Contents:Introduction.Lets Get Started.What Is a Program?Installing Code::Blocks.Writing Your First Program.Writing a Program: Decisions, Decisions.Integer Expressions.Character Expressions.if I Could Make My Own Decisions.Switching Paths.Debugging Your Programs, Part 1.Becoming a Functional Programmer.while Running in Circles.Looping for the Fun of It.Functions, I Declare!Dividing Programs into Modules.Debugging Your Programs, Part 2.Data Structures.Other Numerical Variable Types.Arrays.Arrays with Character.Pointing the Way to C++ Pointers.Taking a Second Look at C++ Pointers.Programming with Class.Debugging Your Programs, Part 3.Object-Oriented Programming.What Is Object-Oriented Programming?Structured Play: Making Classes Do Things.Pointers to Objects.Do Not Disturb: Protected Members.Getting Objects Off to a Good Start.Making Constructive Arguments.Coping with the Copy Constructor.Advanced Strokes.Inheriting a Class.Are Virtual Functions for Real?Overloading Assignment Operators.Performing Streaming I/O.I Take Exception!The Part of Tens.Ten Ways to Avoid Bugs.Ten Features Not Covered in This Book.