Course Objective:
Shiksha Tarang has yet again come up with the Online Classes for C/C+ +!!! So why should we learn C when the other programming languages are there to fill in the void?
Essentially we should understand that learning the other programming requires to be flawless in the basic program! Moreover the computers though being quick witted are still hampered if they are not instructed in a proper manner. Thus, basics are indispensible...
Pre – requisites:
Unit 1:
Introduction
I) Compilers
1. What is a Complier?
2. Console Programs.
Unit 2:
Basics of C++
I) Structure of a program
1. Structure of the Program.
2. Comments.
II) Variables and types
• Identifiers.
• Fundamental Data Types
i) Character Types,
ii) Numerical Integer Types,
iii) Floating Point Types,
iv) Boolean type.
• Initialization of the Variables.
• Declaration of the Variables
• Type Deduction: Decl and Auto Type.
• Introduction to Strings
III) Constants:
Literals:
• Integer Numerals.
• Floating Point Numerals
• Character and String Literals
• Other Literals.
IV) Operators:
• Assignment Operator (=)
• Arithmetic Operators ( +, - , *, /, % )
• Compound Assignment ( +=, -=, *=, /=, %=, >>=, <<=, &=, ^=, I = )
• Increment and Decrement (+ +, - - )
• Rational and Comparison Operators (= =, ! =, >, <, > =, < = )
• Logical Operators (!, & &, II )
• Conditional Ternary Operator ( ? )
• Comma Operator ( , )
• Bit wise Operators ( &, I, ^, ~, <<, >> )
• Explicit Type Casting Operator
• Sizeof
• Other Operators
• Precedence of Operators
V) Basic Input/ Output:
• Standard Output (Cout)
• Standard Input (Cin)
• Cin and Strings
• Stringstream
Unit 3:
Configuration of the Program
I) Statements and Flow Control:
• Selection Statements: If and Else
• Iteration Statements (Loops)
• Jump Statements
• Another Selection Statement: Switch.
II) Functions:
• Functions with No Type - The Use of Void
• The Return Value of Main
• Arguments Passed by Value and by Reference
• Efficiency Considerations and Const References
• Inline Functions
• Default Values in Parameters
• Declaring Functions
• Recursivity
III) Overloads and Templates:
• Overloaded Functions
• Function Templates
• Non-type Template Arguments
IV) Name visibility:
• Scopes
• Namespaces
• Using
• Namespace Aliasing
• The std Namespace
• Storage Classes
Unit 4:
Compound Data Types
I) Arrays:
• Initializing Arrays
• Accessing the Values of an Array
• Multidimensional Arrays
• Arrays as Parameters
• Library Arrays
II) Character Sequences:
• Initialization of Null-Terminated Character Sequences
• Strings and Null-Terminated Character Sequences
III) Pointers:
• Address-of Operator (&)
• Dereference Operator (*)
• Declaring Pointers
• Pointers and Arrays
• Pointer Initialization
• Pointer Arithmetic
• Pointers and Const
• Pointers and String Literals
• Pointers to Pointers
• Void Pointers
• Invalid Pointers and Null Pointers
• Pointers to Functions
IV) Dynamic Memory:
• Operators New and New []
• Operators Delete and Delete []
• Dynamic Memory in C
V) Data Structures:
• Data structures
• Pointers to structures
• Nesting structures
VI) Other Data Types:
• Type Aliases (typedef / using)
• Unions
• Anonymous Unions
• Enumerated Types (enum)
• Enumerated Types with Enum Class
Unit 5:
Classes
I) Classes (A):
• Constructors
• Classes Defined with Struct and Union
• Overloading Constructors
• Member Initialization in Constructors
• Uniform Initialization
• Pointers to Classes
II) Classes (B):
• The Keyword - This
• Overloading Operators
• Const Member Functions
• Static Members
• Class Templates
• Template Specialization
III) Special Members:
• Default Constructor
• Destructor
• Copy Assignment
• Copy Constructor
• Implicit Members
• Move Constructor and Assignment
IV) Friendship and Inheritance:
• What is Inherited from the Base Class?
• Friend Classes
• Friend Functions
• Inheritance between Classes
• Multiple Inheritance
V) Polymorphism:
• Pointers to Base Class
• Abstract Base Classes
• Virtual Members
Unit 6:
Other Language Features
I) Type Conversions:
• Implicit Conversion
• Implicit Conversions with Classes
• const_cast
• typeid
• Keyword Explicit
• Type Casting
• static_cast
• dynamic_cast
• reinterpret_cast
II) Exceptions:
• Standard Exceptions
• Exception Specification
III) Pre - processor Directives:
• Macro Definitions (#define, #undef)
• Conditional Inclusions (#ifdef, #ifndef, #if, #endif, #else and #elif)
• Error Directive (#error)
• Pragma Directive (#pragma)
• Predefined Macro Names
• Line Control (#line)
• Source File Inclusion (#include)
Unit 7:
C++ Standard Library
I) Input/ Output with Files:
• Checking State Flags
• Open a File
• Text Files
• Closing a File
• Buffers and Synchronization
• Get and Put Stream Positioning
• Binary Files
Why Shiksha Tarang for learning C/ C++?
Shiksha Tarang gives that added advantage to the students who learn the subject here. It is not only that but Shiksha Tarang also keeps you updated with the latest and some practical sessions so as to keep you equipped with the Programming Languages... Have the knack (tricks) of not cracking under pressure from the experts!!!
So go ahead and figure out the best of best careers for yourself...
Future of the C/ C++ Programmers:
Not reviewed yet