Google+ PHP TUTORIALS ONLINE HELP FOR MEDICAL AND PROGRAMMING: C++ with Programming Techniques

Tuesday 25 February 2014

C++ with Programming Techniques

C++ with Programming Techniques

Introduction to C++
What is C++ Programming?
The Object-Oriented Approach
  •  Encapsulation
  •   Polymorphism
  •  Inheritance What's new in C++?
  •   New Style Header
  •   Namespaces
  •   The main() Function
  •   New Comment Style
  •   Input and Output
  •  The return Statement Data Types and Variable
  •  The bool Data Type
  •  The Reference Data Type
Operators, Expression and Statements Operators
  • The Assignment Operator
  •  Mathematical Operators
  •   Relational and Logical Operators
  •   Bitwise Operators
  •   The ? Operator
  •   The & and * Pointer Operators
  •   The size of Operator
  •   The Comma Operator
  •   The Dot (.) and Arrow (−>) Operators
  •   The [ ] and ( ) Operators
  •  Operator Precedence
Expressions
  • Simple Expressions
  • Complex Expressions Statements
  •  Statements and White Space
  •  Null Statements Compound Statements
  •  More Statements
True and False in C ++
Selection Statements
  • if Statement
  • Nested ifs
  •  The if-else-if Ladder
  •  The ? Alternative
  •  The Conditional Expression
  •  The switch Statement
  • Nested switch Statements Iteration Statements
  •  The for Loop
  •  for Loop Variations
  • The Infinite Loop
  •  for Loops with No Bodies
  •  The while Loop
  • The do-while Loop Jump Statements
  •  The return Statement
  •  The goto Statement
  •  The break Statement
  •  The exit( ) Function
  •  The continue Statement
Arrays, Strings and Pointer Basics Arrays
  • Declaration of an Array
  • Initializing Arrays
  • Storage Capacity of an Array
  • Two-Dimensional Arrays
  • Unsized Array Initializations Strings
  • Null-Terminated Strings
  • String Manipulation Functions
  • Arrays of Strings
Pointers – A Brief Overview
  • Definition of a Pointer
  • Declaring a Pointer
  •  How Pointer Work?
  • Initializing Pointers
Pointer Expressions
  • Pointer Assignments
  •  Pointer Arithmetic
  •  Pointer Comparisons Pointers and Arrays
  • Arrays of Pointers
  • Pointers Vs. Array Dynamic Memory Allocation
  • What is Dynamic Memory Allocation?
  • Allocating Memory
  • Freeing Memory
  • Reallocating Memory
  • Common Pointer Pitfalls
  • Not Assigning a Pointer to Memory Address before Using It
  • Illegal Indirection
Classes and Objects
  • Introduction to Classes
  • What is a Class?
  • Creating a Class
  • Accessing Class Members Introduction to Objects
  • What are Objects?
  •  Creating Objects
  •  Accessing an Object’s Data Members and Member Functions
  • The Current Object
  • The “This” Alternative
  • Deleting an Object
Constructors and Destructors
  • Constructor
  • Destructor
  • Parameterized Constructors Static Class Members
  •  Static Data Members
  •  Static Member Functions
  • When Constructors and Destructors Are Executed The Scope Resolution Operator
Overloading
  • Function Overloading
  • Overloading a Function
  • Overloading Constructor Functions
  • Overloading a Constructor to Gain Flexibility Allowing Both Initialized and Uninitialized Objects
  • Copy Constructors
  • Finding the Address of an Overloaded Function
  • Default Function Arguments
  • Default Arguments vs. Overloading
  • Operator Overloading
  • Operator Overloading – An Overview
  •  Overloading an Operator
  • Creating a Member Operator Function
  • Creating a Non-Member Operator Function
  • Overloading new and delete Overloading new and delete for Arrays Overloading the no throw Version of new and delete
Inheritance
  • Inheritance – An Overview
  • What is Inheritance?
  • Benefits of Using Inheritance Base-Class Access Control
  • Inheritance and public and private Members
  • Inheritance and protected Members
  • Protected Base-Class Inheritance Implementing Multiple Inheritance
  • Constructors, Destructors, and Inheritance
  • Execution Order of Constructors and Destructors
  • Passing Parameters to Base-Class Constructors Restoring Access
  •  Virtual Base Classes Polymorphism in C++ Virtual Functions
  • What is a Virtual Function?
  • Creating a Virtual Function
  • An Example
  • Virtual Function vs Function Overloading
  •  Calling a Virtual Function Through a Base Class Reference Inheriting Virtual Attribute
  • Virtual Functions Are Hierarchical Pure Virtual Functions
  • Discussing Pure Virtual Functions
  •  Discussing Abstract Classes
  •  Using Virtual Functions
  • Early vs. Late Binding
Exception Handling
  • Basics of Exception Handling
  • The try and catch Block
  • The throw Statement
  • Some Examples Catching Class Types
  • Using Multiple catch Statements
  • Handling Derived-Class Exceptions
  • Exception Handling Options
  • Catching All Exceptions
  • Restricting Exceptions
  • Rethrowing an Exception Understanding terminate( ) and unexpected( )
  • Overview of terminate() and unexpected()
  • Setting the Terminate and Unexpected Handlers
  • An Example
  • The uncaught_exception( ) Function
  • The exception and bad_exception Classes
File Handling in C++
  • Handling Files – An Overview
  • Opening and Closing a File
  • Streams For File Manipulation
  • Opening a File
  • Verifying Whether File Is Opened Successfully
  • Closing a File
  • Reading and Writing Text Files
  • Performing Unformatted and Binary I/O
  • The put( ) and get( ) Functions
  • The read( ) and write( ) Functions
  • More get( ) Functions
  • The getline( ) Function
  • Detecting EOF
  • Using the ignore( ) Function
  • Using peek( ) and putback( ) Functions Using flush( ) Function
  • Randoming Access of Files
  • Obtaining the Current File Position
You can read All C++ programming

No comments:

Post a Comment