Hello friends I am Sourav Ganguly. This c programme (program) or programming (programing) language tutorial contain basic or basics and advance knowledge for begginer (beginer) or begginers (beginers) with examples including input with output and different types of question or questions and answer or answers. We may call this tutorial or tutorials as complete online youtube video or videos with software and power point or ppt presentation. In this series of tutorials you will learn about keyword, different rules for constructing variables, integer, real, character constant, data types, character set, normal and nested if else statement, if else or else if ladder, different types of for, while and do while loop, switch case statement, break, continue, goto, function declaration and calling with values and address or reference, scope, recursion, union, static, extern, one, two and three or multi dimensional array, pointer, string, library, structure, file opening and closing with copy then paste and write function.
4. Step 1: Goto http://www.google.com
Step 2: Search for “Code Blocks”.
Step 3: Go to Code Blocks website.
Step 4: Go to download section of Code Blocks site.
Step 5: Click on “binaries”.
Step 6: Download “setup.exe” file of desire version of Code
Blocks.
[Check my YouTube channel for live demo]
How to install Code Blocks on your computer
5. Step 1: Go to “Code Blocks icon” and double click.
Step 2: Go to “Create a new project”.
Step 3: Select “Console application”.
Step 4: Click on “Go” button.
Step 5: Click on “next” button on next window.
Step 6: Select “C option”.
Step 7: Click on “next” button.
[Check my YouTube channel for live demo]
How to run “Hello World” on Code Blocks….. (contd.)
6. Step 8: Give a “project title” by your choice.
Step 9: In next option Browse and choose “destination folder”.
Step 10: Click on “next” button.
Step 11: Click on “Finish” button on next window.
Step 12: Double Click on “Sources”.
Step 13: Double Click on “main.c”.
Step 14: Read the program carefully.
[Check my YouTube channel for live demo]
How to run “Hello World” on Code Blocks….. (contd.)
7. Step 15: To compile this program. Click on “Build” option
and again “Build” option in dropdown menu.
Step 16: To run this program. Click on “Build” option
and click on “Run” option in dropdown menu.
Step 17: You will get the output screen with output “Hello
World”
[Check my YouTube channel for live demo]
How to run “Hello World” on Code Blocks….. (contd.)
8. Step 1: Go to “Code Blocks icon” and double click.
Step 2: Go to “Create a new project”.
Step 3: Select “Console application”.
Step 4: Click on “Go” button.
Step 5: Click on “next” button on next window.
Step 6: Select “C option”.
Step 7: Click on “next” button.
[Check my YouTube channel for live demo]
How to run your own program on Code Blocks… (contd.)
9. Step 8: Give a “project title” by your choice.
Step 9: In next option Browse and choose “destination folder”.
Step 10: Click on “next” button.
Step 11: Click on “Finish” button on next window.
Step 12: Double Click on “Sources”.
Step 13: Double Click on “main.c”.
Step 14: Read the program carefully.
[Check my YouTube channel for live demo]
How to run your own program on Code Blocks… (contd.)
10. Step 15: Click on “File” option and then “new” option in
dropdown menu and then click on “empty file”
option.
Step 16: Click “yes” to add this new file in same project.
Step 17: Give a file name with “.c” extension. Ex: “abc.c”
Step 18: Click on “save”.
Step 19: For debug and release click on “ok”.
Step 20: Now write your program.
Step 21: Click on “File” option and then click “save all files”
[Check my YouTube channel for live demo]
How to run your own program on Code Blocks… (contd.)
11. Step 15: Click on “File” option and then click “Quit”.
Step 16: Click on “save” in the dialog box.
Step 17: Go to “Code Blocks icon” and double click.
Step 18: Go to “Open an existing project”.
Step 19: Select your newly created file with “.c” extension.
Step 20: Click on “open”.
Step 21: Now “Build” and “Run” your program.
[Check my YouTube channel for live demo]
How to run your own program on Code Blocks… (contd.)