Posted by : Rhyf Ahmad Friday, May 08, 2015

This ebook gives you a lot of source code for you to learn such as variables, arrays, expressions and arithmatics, operator precedence, looping and much more. This ebook gives you exercises too, so you will know how much you absorb this content.

Detail contents of this 599 pages ebook:
1 The Context of Software Development 

  • 1.1 Software
  • 1.2 Development Tools
  • 1.3 Learning Programming with C++
  • 1.4 Summary
  • 1.5 Exercises
2 Writing a C++ Program 

  • 2.1 General Structure of a Simple C++ Program
  • 2.2 Editing, Compiling, and Running the Program
  • 2.3 Variations of our simple program
  • 2.4 Template for simple C++ programs
  • 2.5 Summary
  • 2.6 Exercises
3 Values and Variables 

  • 3.1 Integer Values
  • 3.2 Variables and Assignment
  • 3.3 Identifiers
  • 3.4 Floating-point Types
  • 3.5 Constants
  • 3.6 Other Numeric Types
  • 3.7 Characters
  • 3.8 Enumerated Types
  • 3.9 Type Inference with auto
  • 3.10 Summary
  • 3.11 Exercises
4 Expressions and Arithmetic 

  • 4.1 Expressions
  • 4.2 Mixed Type Expressions
  • 4.3 Operator Precedence and Associativity
  • 4.4 Comments
  • 4.5 Formatting
  • 4.6 Errors and Warnings
  • 4.6.1 Compile-time Errors
  • 4.6.2 Run-time Errors
  • 4.6.3 Logic Errors
  • 4.6.4 Compiler Warnings
  • 4.7 Arithmetic Examples
  • 4.8 More Arithmetic Operators
  • 4.9 Algorithms
  • 4.10 Summary
  • 4.11 Exercises
5 Conditional Execution 

  • 5.1 Type bool
  • 5.2 Boolean Expressions
  • 5.3 The Simple if Statement
  • 5.4 Compound Statements
  • 5.5 The if/else Statement
  • 5.6 Compound Boolean Expressions
  • 5.7 Nested Conditionals
  • 5.8 Multi-way if/else Statements
  • 5.9 Errors in Conditional Statements
  • 5.10 Summary
  • 5.11 Exercises
6 Iteration 

  • 6.1 The while Statement
  • 6.2 Nested Loops
  • 6.3 Abnormal Loop Termination
  • 6.3.1 The break statement
  • 6.3.2 The goto Statement
  • 6.3.3 The continue Statement
  • 6.4 Infinite Loops
  • 6.5 Iteration Examples
  • 6.5.1 Drawing a Tree
  • 6.5.2 Printing Prime Numbers
  • 6.6 Summary
  • 6.7 Exercises
7 Other Conditional and Iterative Statements 

  • 7.1 The switch Statement
  • 7.2 The Conditional Operator
  • 7.3 The do/while Statement
  • 7.4 The for Statement
  • 7.5 Summary
  • 7.6 Exercises
8 Using Functions 

  • 8.1 Introduction to Using Functions
  • 8.2 Standard Math Functions
  • 8.3 Maximum and Minimum
  • 8.4 clock Function
  • 8.5 Character Functions
  • 8.6 Random Numbers
  • 8.7 Summary
  • 8.8 Exercises
9 Writing Functions 187

  • 9.1 Function Basics
  • 9.2 Using Functions
  • 9.3 Call by Value
  • 9.4 Function Examples
  • 9.4.1 Better Organized Prime Generator
  • 9.4.2 Command Interpreter
  • 9.4.3 Restricted Input
  • 9.4.4 Better Die Rolling Simulator
  • 9.4.5 Tree Drawing Function
  • 9.4.6 Floating-point Equality
  • 9.4.7 Multiplication Table with Functions
  • 9.5 Commenting Functions
  • 9.6 Custom Functions vs. Standard Functions
  • 9.7 Summary
  • 9.8 Exercises
10 Managing Functions and Data 

  • 10.1 Global Variables
  • 10.2 Static Variables
  • 10.3 Overloaded Functions
  • 10.4 Recursion
  • 10.5 Making Functions Reusable
  • 10.6 Pointers
  • 10.7 Call by Reference
  • 10.7.1 Call by Reference via Pointers
  • 10.7.2 Call by Reference via References
  • 10.8 Function Pointers
  • 10.9 Summary
  • 10.10 Exercises
11 Aggregate Data 

  • 11.1 Vectors
  • 11.1.1 Declaring and Using Vectors
  • 11.1.2 Traversing a Vector
  • 11.1.3 Vector Methods
  • 11.1.4 Vectors and Functions
  • 11.1.5 Multidimensional Vectors
  • 11.2 Arrays
  • 11.3 Prime Generation with a Vector
  • 11.4 Summary
  • 11.5 Exercises
12 Sorting and Searching 

  • 12.1 Sorting
  • 12.2 Flexible Sorting
  • 12.3 Search
  • 12.3.1 Linear Search
  • 12.3.2 Binary Search
  • 12.4 Vector Permutations
  • 12.5 Randomly Permuting a Vector
  • 12.6 Summary
  • 12.7 Exercises
13 Standard C++ Classes 

  • 13.1 String Objects
  • 13.2 Input/Output Streams
  • 13.3 File Streams
  • 13.4 Complex Numbers
  • 13.5 Summary
  • 13.6 Exercises
14 Custom Objects 

  • 14.1 Object Basics
  • 14.2 Fields
  • 14.3 Methods
  • 14.4 Constructors
  • 14.5 Destructors
  • 14.6 Defining a New Numeric Type
  • 14.7 Encapsulation
  • 14.8 Summary
  • 14.9 Exercises
15 Fine Tuning Objects 

  • 15.1 Pointers to Objects and Object Arrays
  • 15.2 The this Pointer
  • 15.3 const Methods
  • 15.4 Separating Method Declarations and Definitions
  • 15.5 Preventing Multiple Inclusion
  • 15.6 Overloaded Operators
  • 15.6.1 Operator Functions
  • 15.6.2 Operator Methods
  • 15.7 static Members
  • 15.8 Classes vs. structs
  • 15.9 Summary
  • 15.10Exercises
16 Building some Useful Classes 

  • 16.1 A Better Rational Number Class
  • 16.2 Stopwatch
  • 16.3 Sorting with Logging
  • 16.4 Linked Lists
  • 16.5 Automating Testing
  • 16.6 Summary
  • 16.7 Exercises
17 Inheritance and Polymorphism 

  • 17.1 I/O Stream Inheritance
  • 17.2 Inheritance Mechanics
  • 17.3 Uses of Inheritance
  • 17.4 Polymorphism
  • 17.5 Protected Members
  • 17.6 Fine Tuning Inheritance
  • 17.7 Summary
  • 17.8 Exercises
18 Generic Programming 

  • 18.1 Function Templates
  • 18.2 Class Templates
  • 18.3 Iterators
  • 18.4 Iterator Ranges
  • 18.5 The Standard Template Library
  • 18.6 Summary
  • 18.7 Exercises Appendices 
A Using Visual Studio 2013 to Develop C++ Programs 
B Visual C++ Command Line Development 
C Developing C++ Programs with the GNU Tools 
D Introduction to Binary Numbers and Computer Arithmetic 

  • D.1 The Integer Types
  • D.2 The Floating-Point Types
E Bitwise Operators 
F Arrays 

  • F.1 Declaring and Using Arrays
  • F.2 Arrays and Functions
  • F.3 Prime Generation with an Array
  • F.4 Multidimensional Arrays
  • F.5 Pointers and Arrays
  • F.6 Array Ranges
  • F.7 C Strings
  • F.8 Dynamic Arrays
  • F.9 The sizeof Operator
  • F.10 Copying an Array
  • F.11 Memory Management
  • F.12 Summary
  • F.13 Exercises 

Ebook Preview
Download this ebook now (6.4 MB)

Leave a Reply

You can leave a comment to request any article(s), software(s), ebook(s) or report the dead link.
Then I will reply as soon as I can :)

Subscribe to Posts | Subscribe to Comments

Welcome to My Blog

Recent Post

Recent Posts Widget
Instagram

- Copyright © Madriva -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -