We are learning today how to learn the beginning C programming language. First, install the software editor. The software name (code blocks) link is here. And you can use other software in your ways like turbo-c and etc … See how many steps you have to learn more and follow them I think you will get basic knowledge of C programming.
Table of Contents
How to Install Code Block Software for Beginners and How to Use Code Block?
If you go to the link we provided and go to the top of the page, you will see different versions of the code block. You need to install that version. Now that CodeBlock has been installed, you will see a file on the right-hand side of the CodeBlock software. Click on the button that appears and select the project. Now you will see a new page on your screen in which you have to select the console application and click on the Go button. Now again select the language you want to program in. Let’s click on it. Now you will see a new page again. In it, you have to select the project title and path location and click on the Next button. Now you have to select gnu GCC compiler and click on the Finish button. The C file will appear. Select it and click on the Run button. Click on it to see the output of your C programming. By doing this you will be able to learn the C language easily.
Step1:- Install Code Block Software editor.
By clicking on the link Download Code-block link. I will give you to install code blocks, you will see the link (code block window 64 bit). To set up it, I have put install screenshots. Let me see some of them.
Step2:- Create New Project Or New File.
Step3:- Select Console Application and Click to go Button
Step4:- Select Your Programming Language (Example=’C’).
Step5:- Please Select Folder Where are you want the new project to be created as well as its title.
Step6:- Please Select GNU GCC Compiler and then click Finish Button.
Step7:- Open Sources file and click Main.c file then click run Button.
Output:-
How to Create First Program in C Language.
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Myprograming!\n");
return 0;
}
Note:- You use printf to ‘show‘ the output in C Language