Introduction to Programming - CS-201
In this course you will learn following concepts.
Introduction
- What is programming
- Why programming is important
- What skills are needed
- Develop a basic recipe for writing programs
Software Categories
- System Software
- Application Software
- History of C language
- Development Environment of 'C'
Basic Building Blocks
- First C++ program
- Variables in C++
- Data Types in C++
- Arithmetic Operators in C++
- Precedence of Operators in C++
- Sample Program of C++
- Examples of Expressions in C++
- Use of Operators in C++
Conditional Statements in C++
- Flow Charting
- if/else structure
- Logical Operators
Repetition Structure (Loop) in C++
- Infinite Loop
- Properties of While loop
- Flow Chart
- Do-While Statement
- Increment/decrement Operators
- Switch Statement
- Break Statement
- Continue Statement
- Rules for structured Programming
Functions in C++
- Structure of a Function
- Declaration and Definition of a Function
- Default Function Arguments
- Call by Value
- Call by Reference
- Function Overloading
Arrays in C++
- Initialization of Arrays
- Copying Arrays
- Linear Search
- The Keyword 'const'
- Character Arrays
- Initialization Of Character Arrays
- Arrays Comparison
- Sorting Arrays
- Searching Arrays
- Functions And Arrays
- Multidimensional Arrays
- Array Manipulation
- Arrays of Objects
- Dynamic Arrays of Objects
- Overloading [] Operator to Create Arrays
Pointers in C++
- Pointers
- Declaration of Pointers
- Bubble Sort Example using pointer
- Pointers and Call By Reference
- Relationship between Pointers and Arrays
- Pointer Expressions and Arithmetic
- Pointers Comparison
- Pointer, String and Arrays
- Pointers to Pointers
String Handling in C++
- String Manipulation Functions
- Character Handling Functions
- Text File Handling
- String Conversion Functions
- String Functions
- Search Functions
Sequential Access Files
- Random Access Files -Position in a File
- Setting the Position -Example of seekg() and tellg() Functions
- Example of Data Insertion in the Middle of a File
- Efficient Way of Reading and Writing Files
- Copying a File in Reverse Order
Structures in C++
- Declaration of a Structure
- Initializing Structures
- Functions and structures
- Arrays of structures
- sizeof operator in c++
- Unions
Bit Manipulation
- Bit Manipulation Operators
- AND Operator
- OR Operator
- Exclusive OR Operator
- NOT Operator
- Bit
- Bitwise Manipulation and Assignment Operator
- Bitwise operators
- Flags
- Masking
- Unsigned Integers
- Sample Program Shift Operators
- Pre-processor
- Include directive
- Define directive
- Other Preprocessor Directives
- Macros
Memory Allocation
- Dynamic Memory Allocation
- Calloc Function
- Malloc Function
- free() function
- Realloc Function
- Memory Leak
- Dangling Pointers
Classes and Objects
- Definition of a class
- Separation of Interface from the Implementation
- Structure of a class
- Class Abstraction
- main() Function and Classes
- Constructor
- Types of Constructors
- Default arguments with constructors
- new Operator and Constructors
- Destructors
- Messages and Methods
- Classes and Structures in C++
- Friend Functions
- Declaration of Friend Functions
- Friend Classes
Don,t forgot to share, keep sharing keep learning
0 Comments