Say hello world and you'll know what I'm going to do, after all, Hello World is basically the first case in every high-level language.
OK, cut to the chase, we started writing Hello world! in C.
First, open the C language IDE (integrated development environment), I use vc++6.0, for reasons, after all, exam needs, but also suitable for beginners. (For beginners to get the most out of it, review the code and have it on the naked eye.) )
Second, select Close, click on the top left corner of the file-new, Pop-up dialog box
Third, select the Project WIN32 Console Application (console application under 32-bit Windows), and then give the input a name, for example I entered "text", click OK
Four, then will pop up the dialog box, select an empty project (this is the default), click Finish directly
Create a new one, select the C + + Source file in the files, and select Add to Project (select the text project that you built earlier), and then enter the file name for example: Hello World.cpp (be sure to write. cpp, which is used to identify this is a C language file instead of a C + + file), Click OK
Six, the edit box will be displayed, in the edit box to enter the contents of the picture, the figure is as follows
Then, click the icon button in left-to-right order (execute with build, build, and so on)
Eight. When you click the first and second buttons, the IDE prompts you to write them incorrectly for the post-build prompt
Nine, click the last button (execute), will pop up the console, content such as
Finally, let us explain in detail the meaning of the previously written code (//For single-line comments,/*......*/for multiline comments)
Number of children · C Language--hello World