
In this lecture I had explained about our course. I also provide you with some concepts of what you should expect about this course and how to walk into your programming carrier.
After that I had introduced with you the IDE we gonna use in our course which is Dev C++. You can download that compiler from here
https://sourceforge.net/projects/orwelldevcpp/
In this lecture we learned to create our first hello world program in C++ language. We also find out that C++ is just a super set of C language so every thing that we can do in C, we can also do that work in C++ as well. But C++ has its own way of doing stuff in some manner.
In this lecture we had explained the way to declare and initialize variable of integer type and after that we introduced cin and cout method of std name space. Which is used for taking input from user or provided output to the user respectively.
In this lecture we had introduced If else statements which is very important building block of not only C/C++ but also in every programming language. These statements called Control statements as they control the flow of program.
We see the usage of if else to control the flow of program, with the help of a program in which we created a scenario in which we want to take input from user as an integer but want to force user to enter number less then a specific number. If user enter number greater then a pre defined number then we prompt user to enter number less then that value. But if user enter small number then we simply add a constant value in that number and then print that resultant number.
In this lecture we had explained the way to use if else in nested form. We also created a scenario in which this kind of nested control statements became necessary to use.
It is very common when we want our program to continuously run until a specific terminating condition met. To do a same thing more then once, called Looping, and to accomplish our task to loop our Lottery program again and again we want to use some kind of Loop.
In this lecture we had explained the while loop and demonstrated how can we accomplish our simple looping task with the help of while loop. We stick to our previous Lottery program and extended that code to meet our new conditions to let user play the game again and again until he wish to exit by typing -1 value.
While loop is a statement which is used to create a loop until its provided condition is true. Once its condition is false the loop will not be executed anymore and if there is no further statement after the while loop then the program terminates. Which is true in our case. We provide != rational operator to be used with our Boolean expression provided to while loop.
In previous lecture we used while loop to make our program able to run more then once. In this lecture we had explained the way to make it sure that our program run at-least one time even if the while condition is false by default. We did this with the help of do while loop. Do while loop is very powerful tool in a programming language specially in C/C++.
There will be lot of time in our programming carrier when we need this tool to make our algorithm come alive and help us to debug some of our logical errors that could happen due to bad algorithm development. So grip this tool well and make your language toolbox powerful enough to take control of looping.
We had created a program in this lecture, which print table of 2 to 20, whichever number user selects and input to the program. We first take a number from user as an integer.
After that we make it sure that this integer is greater then or equal to 2 and less then or equal to 20.
Once we make it sure that the value is valid number then we use a incremental for loop to print out the table of that number.
In this lecture we had explained the method of declaring a function and modified our previous table function code to be used via function call.
We created a function with void return type by passing two variables as an argument to that function, one variable let function know the table integer to be printed out and the second argument value is the number until we need that table.
In this lecture we had explained the way to declare integer Array and define a scenario to find Average age of a given student ages. We see how it is done with the help of very basic data structure called Arrays.
We also defined what Arrays are and when to use them?
In this lecture we had seen binary NOT operation and also explained signed and unsigned integers as well as explicit conversion of a char variable into an Integer
In this lecture we applied our previous binary operations knowledge to implement a method to display user binary value of a giver integer.
In this lecture I had explained the way to clear bit , set bit and toggling a specific bit in an Integer.
If you are native Urdu or Hindi speaker and you want to learn computer programming but you find it difficult to understand the basic concepts of programming then this course is best fit for you. This course provides you all the concepts about not only C/C++ but also about the very fundamentals of programming so that you could be able to grasp as much as you can in just few hours.
If you are tired of paying to institutions in term of short courses but you get nothing then try this course once. Even if you are undergrad student in Computer Science or Software Engineering or Computer Engineering field even then this course will provide you extra resources to become more proficient in the filed of programming.
Best of Luck.