C++ programming basics: Fishing in C++
Book Details
Author(s)Aman Kumar Jha
ISBN / ASINB011EKC72S
ISBN-13978B011EKC725
Sales Rank288,522
MarketplaceUnited States 🇺🇸
Description
Best C++ programming book for beginners.
Contents include:
Introduction
First C++ Program: Hello World
>Comments
Variables, constants and Keywords
>Character sets
>Keywords
>Variables
>Variable constraint: Limitations of variables
>Difference between declarations and definitions:
>scope resolution operator(::)
Formatted Input/Output
>cout (cout.put()
>cout.write()
>endl
>oct, dec, hex
>iomanip.h
>cin (>>)
>gets()
>cin.get()
>cin.getline(char*,int l,char t)
>cin.read(unsigned char*,int l)
>oct, dec, hex
>setbase()
>Increment & decrement operator (++ & --)
>Type casting
>Constants
>Shorthand notation
Decision control
>if...else
>Nested if...else
>Else If ladder
>Logical operators
>Switch statement
Loops
>for loop
>while loop
>Do...while loop
>goto keyword
>Break and Continue
Functions
>void
>Recursion
>Variables Revisited
>Default arguments
>Function overloading
>Inline Functions
Pointers
>Returning a pointer
>Pointer Arithmetic
Array
>Array declaration and initialization
>Bound checking
>Passing array elements to the function
>Passing Entire array to the function
>Multidimensional array
>Returning an array
Strings
>Array of strings
>Passing string to the function
>Returning a string
>Strlen
>Strcpy
>Strcmp
>Stricmp
Union and Enumeration
>Enumeration
>Array of enum
>Passing enum to the function
>Returning an enumeration
>Union
>Array of union
>Passing union to the function
>Returning a union
>typedef
>#define
Structures
>Input/output in structure
>Array of structures
>Copying one structure to another
>Passing structure elements to a function
>Passing entire structure to the function
>Structure as return type
>Structure as a pointer
File operations
>Useful functions
>Useful macros
>Modes to open a file
>Writing to a file
>Reading characters from a file
>Reading entire file: Character by character
>Reading a string from a file
>File position pointer
>Using state flags
>Operating multiple files simultaneous
>Binary files
>read() and write() functions
>Writing a Structure to a file: Method1
>Reading a structure from file:Method1
>Writing and reading Structures from files : Method2
Class
>Constructors
>Destructor
>Defining the methods inside the class
>Passing a class to a function
>Returning a class
>Friend class
>this pointer
Inheritance
>Accessibility in inheritance
>Types of inheritance
Operator overloading
>Overloading increment and decrement operator(++ &--)
>Using return types in operator overloading
>Using this pointer in operator overloading
>Overloading post-increment operator
>Overloading operator+
>Overloading assignment operator (=)
>Overloading equality operator (==)
Polymorphism
>Function overriding
>Pointers to base class
>Virtual methods
>Abstract base classes and pure virtual methods
Operation on Bits
>Bitwise AND operator
>Bitwise OR operator
>Bitwise XOR operator
>Left shift operator
>Right shift operator
>NOT operator
>One’s complement
Exceptions
>Nested try…catch
>Limiting exceptions types for functions
>Standard exceptions
Namespaces
>using keyword
>Using multiple namespaces simultaneously
>Namespaces aliases
Templates
>Function templates
>Class Templates
>Template specialization
>Non-type parameters for templates
Contents include:
Introduction
First C++ Program: Hello World
>Comments
Variables, constants and Keywords
>Character sets
>Keywords
>Variables
>Variable constraint: Limitations of variables
>Difference between declarations and definitions:
>scope resolution operator(::)
Formatted Input/Output
>cout (cout.put()
>cout.write()
>endl
>oct, dec, hex
>iomanip.h
>cin (>>)
>gets()
>cin.get()
>cin.getline(char*,int l,char t)
>cin.read(unsigned char*,int l)
>oct, dec, hex
>setbase()
>Increment & decrement operator (++ & --)
>Type casting
>Constants
>Shorthand notation
Decision control
>if...else
>Nested if...else
>Else If ladder
>Logical operators
>Switch statement
Loops
>for loop
>while loop
>Do...while loop
>goto keyword
>Break and Continue
Functions
>void
>Recursion
>Variables Revisited
>Default arguments
>Function overloading
>Inline Functions
Pointers
>Returning a pointer
>Pointer Arithmetic
Array
>Array declaration and initialization
>Bound checking
>Passing array elements to the function
>Passing Entire array to the function
>Multidimensional array
>Returning an array
Strings
>Array of strings
>Passing string to the function
>Returning a string
>Strlen
>Strcpy
>Strcmp
>Stricmp
Union and Enumeration
>Enumeration
>Array of enum
>Passing enum to the function
>Returning an enumeration
>Union
>Array of union
>Passing union to the function
>Returning a union
>typedef
>#define
Structures
>Input/output in structure
>Array of structures
>Copying one structure to another
>Passing structure elements to a function
>Passing entire structure to the function
>Structure as return type
>Structure as a pointer
File operations
>Useful functions
>Useful macros
>Modes to open a file
>Writing to a file
>Reading characters from a file
>Reading entire file: Character by character
>Reading a string from a file
>File position pointer
>Using state flags
>Operating multiple files simultaneous
>Binary files
>read() and write() functions
>Writing a Structure to a file: Method1
>Reading a structure from file:Method1
>Writing and reading Structures from files : Method2
Class
>Constructors
>Destructor
>Defining the methods inside the class
>Passing a class to a function
>Returning a class
>Friend class
>this pointer
Inheritance
>Accessibility in inheritance
>Types of inheritance
Operator overloading
>Overloading increment and decrement operator(++ &--)
>Using return types in operator overloading
>Using this pointer in operator overloading
>Overloading post-increment operator
>Overloading operator+
>Overloading assignment operator (=)
>Overloading equality operator (==)
Polymorphism
>Function overriding
>Pointers to base class
>Virtual methods
>Abstract base classes and pure virtual methods
Operation on Bits
>Bitwise AND operator
>Bitwise OR operator
>Bitwise XOR operator
>Left shift operator
>Right shift operator
>NOT operator
>One’s complement
Exceptions
>Nested try…catch
>Limiting exceptions types for functions
>Standard exceptions
Namespaces
>using keyword
>Using multiple namespaces simultaneously
>Namespaces aliases
Templates
>Function templates
>Class Templates
>Template specialization
>Non-type parameters for templates
