Skip to main content

HomePage

INTRODUCTION - 

In this page I will be introducing the syllabus of the this blog that we will be covering.

Through this blog, we will be covering almost every topic related to C++ i.e. even if you are not familiar with C++ till now, you can start from very basic or if you find any specific topic difficult in C++, you can directly jump to that topic and read it.

All the topics are provided with bunch of examples and code snippets, so that, you can remove all the confusions in your mind.


List of topics - 

  1. Introduction to Computer Science - Here we will see what is computer and other necessary basic information that every programmer should have an idea about. We will discuss the following things -
    • What is computer and How it works?
    • What is Program and Operating System?
    • Low Level Language v/s High Level Language.
    • Difference between compiler and interpreter.
  2. Number Systems - Here, we will learn what are Number systems, and introduce ourselves to various number systems and see how these number systems can be converted from one Number system to another, List of Number systems - 
    • Decimal Number System.
    • Binary Number System.
    • Octal Number System.
    • Hexadecimal Number System.
  3. Algorithms, Pseudocodes and Flowcharts - Here we will try to answer these three question -
    • What is Algorithm?
    • What is Pseudocode?
    • What is Flowchart?
  4. Creating Our First C++ Program - Here we will discuss following topics -
    • First we will see how to create a ".cpp" file.
    • We will discuss the essential steps involved in compiling the C++ file, and how it is converted from ".cpp" file to "bytecode".
    • At last we will see the command line execution of our C++ program.
  5. Data Types - Here we will introduce ourselves to -
    • Built-in Datatypes like integer, character, float etc.
    • Derived Datatypes like pointers, references etc.
    • User-Defined Datatypes like classes, structures etc. We will only be introducing the classes, but we will be covering them in lot more details int he later sections.
  6. Expression and Operators
    • We will define, what an expression is.
    • After that we will be covering the operators topic by answering these questions -
      • What are Unary Operators?
      • What are Binary Operators?
      • What is Ternary Operator?
  7. Decision Making Statements - Here we will learn about -
    • if statements.
    • if-else statements.
    • if-else ladder.
    • switch statements.
  8. Loops Statements - Here we will learn about -
    • for loop.
    • while loop.
    • do-while loop.
  9. Practice session #1 -
    • This section will contain some problems related to the topics that we discussed above. The Solution to the problem will also be provided.
  10. Pointers
    • In this section we will give in-depth explanation of pointers from it's declaration to it's flaws and also discuss smart pointers.
  11. C-Style Strings v/s String class - In this section, we will try to learn these things
    • What are C-Strings and String class objects.
    • The pros and cons of both.
    • The advantage of one over another.
    • The algorithms that can be used on each of the given.

Comments

Popular posts from this blog

Introduction to Computer Science.

 Before directly jumping deeply in c++, let's first start by creating the roots of computer science. In this post we will answer the following question. What is Computer and How it works? What is Program and Operating system? Low Level vs High Level Language? Compiler v/s Interpreter? By Knowing All these basic concepts You will be able to understand the upcoming more complex concepts easily. Let's start answering the above questions. What is Computer and How it works? What is computer? If I answer briefly,  what is computer?  then it is just a calculator used for doing simple calculations. If I have to answer where is computer used?, then I could probably say everywhere. We are surrounded by computer, for example mobile, smartwatches, and personal computer (obviously).  The below image is the first mechanical computer that we used for calculation.                                   ...

C-style strings vs String Class.

Here, we are going to learn about, what are C-Style Strings and what is String class . So, let's start by giving you the introduction. C-Style String is nothing but, an array of characters, and from the term array we can surely assume that these are static in size i.e. the size of these C-Style strings cannot be increased or decreased. String Class is a Built-in class that provide us much more functionality than C-Style String. C-STYLE STRINGS Before learning the String class, which is full-fledged feature of C++, we should rather start by taking a look at some important things about C-Style String. C-Style Strings are actually array of characters that are terminated by a null character "\0". If you are confused with, why null character? The reason is that, It helps us to define, upto which index we have some useful data present in our character array, and after null character there may or may not be some garbage values of characters. Let's first start by showing a...

Algorithms, Pseduocodes and FlowCharts.

Some Basic Knowledge. C++ is a general purpose programming language, created by Bjarne Stroustrup and was firstly released in  1985. It is an extension to C language, Reason for that is if you are familiar with C language than you must be familiar with the fact that there are no classes, templates etc. present in C language. Due to which when classes are added to C language it is named as "C with Classes", but C++ is considered as default name now.  Extra thing to remember - In "C++" the symbol "++" after C is post increment symbol and therefore, "C++" means that In C additional features are added. Now, let's define, what are algorithms? Algorithms are nothing but set of rules that must be followed to accomplish some task. (Now, What that mean?😕) let's take an example of swapping two numbers, i.e. if a = 10 and b = 20 after swapping a = 20 and b = 10. How will you write the procedure for this?  (There are many such algorithms). Accordin...