In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to write a Helloworld in c language". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to write a Helloworld in c language.
C language is a general computer programming language, which is widely used. The design goal of C language is to provide a programming language that can easily compile and process low-level memory, generate a small amount of machine code and run without any running environment support.
Although C language provides many low-level processing functions, it still maintains a good cross-platform feature. C language programs written in a standard specification can be compiled on many computer platforms, even including some embedded processors (single-chip microcomputer or MCU) and supercomputers.
In the 1980s, in order to avoid differences in the syntax of C language used by various developers, the American National Bureau of Standards formulated a complete set of American national standard grammar for C language, called ANSIC, as the original standard of C language. [1] at present, the C11 standard issued by the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC) is the third official standard of the C language and the latest standard of the C language. The standard better supports Chinese character function names and identifiers, and realizes Chinese character programming to some extent.
C language is a process-oriented computer programming language, which is different from other object-oriented programming languages such as Java.
All right, all the above words come from Baidu encyclopedia. We don't care about him, those who are interested can go to Baidu by ourselves, and we'll skip it.
Next, start reading the code, beginners must read the code, do not memorize the code, memorization is useless. Open our integrated development environment (IDE) and I'm using vs2013, whether you're using vc6.0, DEVC++, or some other version of vs. Many beginners suggest using vc6.0. In fact, we should keep pace with the times. I suggest using the vs series. If you are in a Linux environment, use vim. (I think 99% of beginners are in Windows environment, so I default that everyone uses vs.)
Let's build a new project:
Select the file in the upper left corner, create a new one, and then select the project:
Then we click OK.
The next step is to choose an empty project when you get here.
And then we got to this point.
Right-click the source file, add, and create a new file.
Enter the following code.
# include
# include
Intmain ()
{
Printf ("I love raspberry pie DIY")
System ("pause")
Return0
}
Compile and run: so how do you compile? Ctrl+F7 to compile. Or click "Local Windows Governor" directly.
The output is as follows:
At this point, I believe you have a deeper understanding of "how to write a Helloworld in c language". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.