Please correct any mistakes…

The previous tutorial only explained the source code of the first C program:

printf("Hello Wrold!" );Copy the code

The meaning of this line of code, now let’s talk about the whole code; Of course, for your convenience, I have copied that code, as follows:

#include<stdio.h> #include<stdlib.h> int main(){printf(" Single growl!" ); system("pause"); return 0; }Copy the code

Once again we continue to use bachelor growls for our additional learning buff

In this tutorial we’ll just cover the first two lines:

#include<stdio.h>
#include<stdlib.h>
Copy the code

In fact, these two lines of code can be used in our life to explain the example, please listen to me slowly explain * @(a – A) secret — SHH “” “‘ *

From then on, there was a mountain. There was a monk on the mountain. The monk was repairing his car, but the monk had no tools in his hands. So what’s the monk going to do? The tool he needs is a screwdriver. The screwdriver is in a tool box, so he goes to the tool box and takes the tool box to the side of the car. Then he opened the tool box, got the screwdriver, and took the car apart.

The story tells us that when we fix things, when we use tools, we take them out of a toolbox, right? So I’m telling you now

#include<stdio.h>
#include<stdlib.h>
Copy the code

#include is your hand. Inside the Angle brackets <> is the name of the tool you want to use. #include

: #include

: #include

: #include

Note that the.h of stdio.h is a suffix; This suffix should not be ignored by novices, I was worried that the suffix would affect you at first; Just forget I ever said anything about the suffix.



Why do I need the stdio.h tool here? That’s because we used the tool printf() that we used in the last section; Such tools can be called functions. This output tool is what we call the output function, or printf function. Here rest assured, a function is not a function in mathematics, our function in simple language is that we make a tool, or make a good function, when we want to use this function we take this function to use, this is our function.

So do not worry about the number of poor students, this is not really a function of math, I used to high school math was always 21, why 21? Multiple choice questions are always correct 4 questions, all answers are full forever 1 point…

Here for beginners, our functions (tools) can write their own, can write their own function; Isn’t it awesome? O_o amazing ~ ~ ~

The reason we’re using the stdio and stdlib toolkits here is because the printf tool in our code is in the STdio toolbox and the System tool is in the STdlib toolbox.

Ok, we finish this section now, and we’ll go on to the next section to explain what’s left. What’s going on?