Skip to content

This repo is a collection of fundamentals and core concepts that are a part of university curriculum !

Notifications You must be signed in to change notification settings

panda-rajsekhar/C-Plus-Plus-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

C-Plus-Plus-

This repo is a collectron of fundamentals and core concepts that are a part of university curriculum !

Syllabus that will be covered

Unit-I:

Introduction to C++:

C++ character set, C++ Tokens (Identifiers, Keywords, Constants, Operators,), Structure of a C++ Program (include files, main function), use of I/O operators (<>), Cascading of I/O operators, compilation, linking and execution. Concept of Data types: Built-in Data types: char, int, float and double; Constants: Integer Constants, Character constants - \n, \t, \b), Floating Point Constants, String Constants; Access modifier: const; Variables of built-in-data types, Declaration/Initialization of variables, Assignment statement, Type modifier: signed, unsigned, long Operator and Expressions: Operators: Arithmetic operators (-,+,,/,%), Unary operator (-), Increment (++) and Decrement (--) Operators, Relation operator (>,>=,<=,=,!=), Logical operators (!,&&,||), Conditional operator: ?; Precedence of Operators; Automatic type conversion in expressions, Type casting; C++ short-hands (+=,- =,=,/=,%=) . Conditional statements: if else, Nested if, switch case default, use of conditional operator, Nested switch case, break statement; Loops: while, do - while, for and Nested loops. Defining a function; function prototype, Invoking/calling a function: call by value, call by reference, returning values from a function, scope rules of functions and variables local and global variables

Unit-II:

Array, Structure and Class:

One Dimensional Array: Declaration/initialization of One-dimensional array, inputting array elements, accessing array elements, Two dimensional Array: Declaration/initialization of a two-dimensional array, inputting array elements accessing array elements, Defining a Structure, declaring structure variables, accessing members of structure, Defining a class, declaring object and accessing class members

Unit-III:

Constructor and Destructor:

Constructors, Parameterized Constructors, Constructors with default arguments, Friend function, and Friend classes

Inheritance:

Derived Class declaration, Public, Private and Protected Inheritance, friend function and Inheritance, Forms of inheritance, virtual base class, Abstract class, Advantage and disadvantage of Inheritance

Unit -IV :

Polymorphism:

Classification of Polymorphism, Compile time and Run time Polymorphism, Virtual function, Pure virtual functions

File Handling:

Defining and Opening a File, closing a File, reading from a File, Writing into a File. Templates: Need of template, Function templates Exception Handling: Exception handling mechanism, Catch Blocks, Catch Throw an exception


How to do the initial setup

So for the windows workinng environment you need to install the following :

  1. Visual Studio Code
  2. C++ extension and Code Runner extension
  3. G++ / MinGw

Use youtube for help

About

This repo is a collection of fundamentals and core concepts that are a part of university curriculum !

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published