Hello! Welcome.If you really care about learning the basics and fundamentals of any programming languages,you’ll really need to start learning C programming in which most of programming languages based on it.In this course,you’re going to learn the following:
- Section 1 is an introduction of the instructor.
- Section 2 the essentials of C programming contains 20 lectures: in which you are going to learn what the program is,what it consists of,understanding different data types and how to assign data values to variables and constants,and much more.
- Section 3 Manipulating Data with Operators contains 7 lectures: in which you are going to learn Arithmetic ,assignment operators,increment or decrement by one,and relational operators used in conventional expressions and much more in C programming.
- Section 4 Reading from and Writing to Standard I/O contains 4 lectures in which you are going to learn how to use the keyboard as an input data to your program using scanf() and more in C programming.
- Section 5 Decision making and branching contains 5 lectures in which you are going to learn how to use if,if else,switch,break,and go to statements in C programming.
- Section 6 iteration or loops contains 5 lectures in which you are going to learn for,while,infinite while,do while,nested loop statements in C programming.
- Section 7 Arrays in which you’re going to learn what an array is and its advantages,declaring arrays data type and size ,indexing arrays,and finally initializing arrays with values.
- Section 8 Bonus lectures will be uploaded when you finish your C programming course.
Introduction
This is an introduction of the course and instructor.
The essential of C programming
In the beginning ,you need to understand what is a program and how it works in computers.
In this lecture,you're going to learn how to type the main() function in your program.Each C program must contain a main() function.
In this lecture,you're going to see your first program in C programming and later everything will be explained.
Header files are necessary to help the compiler properly create your programs.
- In this lecture,you're going to learn how to type comments and why they are used in the program.
In this lecture,you're going to see how to type different comments.
In this lecture,you're going to learn how to use printf(" "); to print a string on the screen
In this lecture,you're going to learn how to save a file you have just typed,
In this lecture,you're going to learn the constants and variables in C.
In this lecture,you're going to know the rules of how to name a variable.
In this lecture,you're going to learn how to apply the arithmetic operations such as addition + ,subtraction - ,division / ,multiplication * ,and reminder % in your program.
In this video,you're going to learn something in Math that is used in programming which is the reminder %.
What does this 48%5 mean? Is it like 48/5 ? No,it's different. Let's see how different it is.
In this lecture,you're going to learn how mathematical operations work. Does the program multiply or divide or subtract or add variables firstly? Let's see what is done first.That called arithmetic operators precedence.
In this lecture,you're going to learn what expressions are and how to use them.
In this lecture,you're going to learn how to deal with arithmetic operations through a sample program.Also,you're going to learn how to show 3 or more outputs using one line command.
In this lecture,you're going to learn the difference between data types, keywords, INT or int .
In this lecture,you're going to know some information about float and double data types.
In this lecture,you're going to learn how to assign different data types and values to the variables.
In this lecture,you're going to learn about specifiers like %d,%f,%d,%e and why they are used.
Manipulating Data with Operators
In this lecture,you're going to learn about Arithmetic and assignment operators and the equivalence statements.
In this lecture,you're going to learn the difference between Unary minus operator and minus or subtraction operator.
In this lecture,you're going to learn the error types.
In this lecture,you're going to learn how to use ++x, x++,--x,x-- and the difference between them.
In this lecture,you're going to learn and practice the relational operators and how they work.
In this lecture,you're going to learn and practice how to use cast operator or as it's called type casting.
Reading from and Writing to Standard I/O
In this lecture,you're going to learn how to use the standard input/output using scanf() to read something from the keyboard.
In this lecture,you're going to learn what minimum integer field width specifier is and how to perform some operations on numbers in your practical code.
In this lecture,you're going to learn what field width means,floating point or decimal point.Moreover,you're going to learn the difference between %f and %1.2f .
In this program,you're going to learn how to make a program to calculate the Area and Perimeter of a rectangle using scanf() function.
Decision making and branching
In this lecture,you're going to learn how to use if statement in your program. if statement means,when the condition is true - do the following: ..........., when it's not true,end your program.
In this lecture,you're going to learn how to use if-else statement in your program.As we know,if statement means,when the condition is true - do the following ..........,when it's not true (false),end your program.Here,it's different situation because of 'else' when the condition of 'if' is not true(false) ,the program will execute some statements.
In this lecture,you're going to learn how to make many decisions using nested if.
Instead of using if else many times for seeking multiple options the user will have after pressing a number,here we have a useful code instead using switch and break statements.Let's see how they work.
A goto statement in C programming provides an unconditional jump from the 'goto' to a labeled statement in the same function.
iteration loops
You may encounter situations, when a block of code needs to be executed several number of times. In general, statements are executed sequentially: The first statement in a function is executed first, followed by the second, and so on.
Programming languages provide various control structures that allow for more complicated execution paths.
A loop statement allows us to execute a statement or group of statements multiple times.
If you know the number of loops your program executes ,then use 'for loop'.Let's find out how for loop used in our program.
A while loop in C programming repeatedly executes a target statement as long as a given condition is true.In this lecture,you're going to make a program using while statement.
Infinite while loop works when the condition of while loop always TRUE and there is no increment or decrement statement to prevent the looping from ending.In this lecture,you're going to learn and practice how to make infinite while loop and how to stop it.
In this lecture,you're going to understand the difference between while and do while .Also,you're going to learn how to type do while and use it in your program.
Arrays
In this lecture,you're going to learn what arrays are,advantages of arrays,and types of arrays.
In this lecture,you're going to learn how to make an array or declaring an array.
In this lecture,you're going to learn indexing an array or giving positions to the elements that will be stored in your array.
In this practical code lecture,you're going to practice all what you have learnt in arrays.How to declare,index,initialize an array.
Functions
In this class,you're learning: What is a function? , Why functions? ,and types of functions.
In this video, mathematical functions are presented.There is a code assignment after this video.