Learning C Programming hello word Google Dictionary com
Learning C Programming - (hello word)/Google Dictionary.com
At the outset, Im not very skilled in programming. I know what you know and what it is. So, I have apologized before its a mistake. I give some ideas about C programming today. So lets start At first we do not know who is the father of C programming? C programming pioneer Danish Ritchie, in 1969-1973, has developed this C programming.He was the first to develop this program on UNIX operating systems. However, interestingly, the Unix operating system was developed with C language later on. Computers do not understand our common language. We act as we say. Kamla in one voice. We see such a cinema, games play all through the program, the programmers made it easier to run our computer by making the program easier. . So we started programming.Starting C programming should have some basic ideas about our computer. Such as on computer, installing software and what is this I think you have these ideas. First of all, we need a software. That is codebalk. This program will run the program. That means it will be compiled. The software that runs the program is called compiler. There are many compilers in addition to CodeBlock, such as Dev C ++, Qt Creator, Net Beans, Eclipse, etc.But Ill use codebalk here. If you do not have this compiler, you can easily remove codebalk from this link. Then it has to be installed. Now open the codebalk. Then go to the new file like the image below and open the Empty file. Then there is save option on the side and save it. Do not save by typing any name.
| Learning C Programming - (hello word)/Google Dictionary.com |
Now write a program first. Now we will print a line. But lets write down the program. Then we will discuss the program
#include <stdio.h>
int main ()
{
printf ("Hello Word");
return 0;
}
Ok.programming writing is complete
Then click on the part of the image to build and run. But there is a hello word written in a black house like this on the screen is not coming? This is actually your program okay.
| Learning C Programming - (hello word)/Google Dictionary.com |
Now lets go to the program. In the first "#" we announce to the compiler that a header file is being taken here. Adding and adding include means. Now, <stdio.h> is a header file. Here the stdio.h compiler refers to taking standard input and output. That means stdio.h is being used for standard input and output.int main () means that the type of variables declaration here is being done. Then with "{" we started writing the program. Then printf ("Hello Word"); . This is printed by printf here, printed on this word or sentence output. Then, starting the parentheses, "I gave this sign. Now what I write between these two symbols will be seen in the output, that is, in the black box that prints.Then we ended the line with the semicolon (;) The semicolon is used to complete every line in the program. The next line return 0 indicates that this function will not return once. That means 0 times
will return Here the sentence is finished with the semicolon again. And at the end} the program concludes.
So we wrote our first program.Then we ended the line with the semicolon (;) The semicolon is used to complete every line in the program. The next line return 0 indicates that this function will not return once.
If I make a mistake in my first written mistake, then forgive me Afterwards, the next program will be present in the Inshallah. Thank you.