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

Number Systems (Binary and Decimal Number Systems).

We are surrounded with Numbers.  For example a human being has 2 ears, 2 legs(generally) and one nose. These all are nothing but numbers. Now, one might ask why do we need to study numbers for c++ programming. Let me answer this one first. In the previous blog I discussed that every computer works on machine language i.e. 0s and 1s, everyone know 0 and 1 are numbers. Ok, done, But what the word "Systems" doing here? What is meant by number systems. Let's see. We all have studied about the numbers from 0 to 9 i.e. 0,1,2,3,4,5,6,7,9 and we very well know that every other number can be derived from these number except infinity(no one knows what's that). for example one thousand twenty two is 1022.  This number system that we have studied is called Decimal Number System.  Why, Decimal? Because this number system contains 10 different symbols.  (In Greek Deca or Deka means 10 and this words is derived from Deca/Deka). Ok, Now we know what is decimal number system and why...

Practice Problems #1.

Below are 6 problems related to arrays, decision making statements etc. No solution will be provided for these problems except Bonus Problem. Problem 1 - Your program should print  "The weather is Good" if today's temperature is greater than 20 degree and less than 25 degree,  "The weather is little cold" if today's temperature is less than 20 degree and greater than 15 degree,  "The weather is cold" if today's temperature is less than 15 degree. "The weather is little warm" if today's temperature is greater than 25 degree but less than 30 degree. "The weather is warm" if today's temperature is greater than greater than 30 degree and less than 40 degree. "The weather is really hot" if today's temperature is greater than 40 degree. Try, to not to confuse yourself with all these statements and print accordingly to the condition matching the user's input. Problem 2 - Try to create a program with foll...

C++ Arrays, functions, pointers and references.

In the previous section, I have discussed about  Built-in Data Types in depth. Now, let's taste the flavors of Variables and literals, with a in depth introduction. Variables A Variable provide us with named memory storage, i.e. a storage in our so called RAM with a particular name (usually we give the name), We can write, modify and use this storage with the help of associated name (variable). Each variable in C++ is associated with some specific data type, like Built-in data types that we previously discussed.  There are mainly two values that are associated with any variable. RValues. LValues. Let's see what all these means. RValues - We know that a variable has some data associated with it, and we can read, write this data, this data that we read and write is termed as RValue. You can also think of RValues as Read Values or as a simple trick from me to you, you can think of as the right side values of assignment opeartor(=) . LValues - We Also know that these variables ...