Hello World for the National Science Program

Source: Internet
Author: User

The charm of the

 hello world is that it is simple, you can easily understand it without any foundation, but it is not pale, with a distinct feature of a program language that embodies the most basic thoughts and characteristics of the language. The same is Hello world, let a person realize the joy of the first success

The question of the proposed   in ancient times, there was a retired programmer who had nothing to do at home and decided to practise calligraphy. The first day, prepared Metsian, then brush write a line of characters: "Hello world."   People who have learned programming languages laugh, and in the minds of programmers, Hello World is the beginning of Everything, the first demo of the program language textbook, the first sample article in WordPress (My Hello World), the first Test after the environment was built ...   But why? Why do you use "Hello world" to get started with programming languages, and all of this?   Hello World Origin   may also need to explain what "Hello World" is: Hello World is a short applet, which functions to output a line of "Hello World" on the display device. The first example in almost every programming language textbook is the Hello World program, so starting with Hello World as a new language is a tradition in computer programming.   Hello World's origins go back to 1972, Bell Labs renowned researcher Brian Kernighan in writing "B language Tutorials and guidance (Tutorial Introduction to the Language B)" First Use (program), this is the earliest known in the computer works will be Hello and world with the record. Later, in 1978, in the C-language Bible "The C programming Language", which he co-authored with Dennis Ritchie, he followed the "Hello world" sentence as the first procedure. In this program, the output of the "Hello World" is all lowercase, there is no exclamation point, a comma after a space. Although it was almost impossible to spread this initial format, it became customary to greet the world with Hello worlds.   Hello,world   Interestingly, if you go to Brian Kernighan's wiki page, the first of his results is not the "C program language", not the UNIX programming environment, but the seemingly obscure "Hello World".   Fascination with Hello World   Hello World: It is simple, even if there is no foundation, you can easily understand, but it is not pale, it has a clear feature of the program language, reflecting the language of the most basicThoughts and characteristics. Also Hello world, let a person realize the first success of joy.   began the first lesson of "universal programming" today, in order to follow the great traditions of the programming world, we can not exception. The first program teaches you how to write Hello World and experience the wonders of the computer. The         "Hello World" program refers to the computer program that prints the string of "Hello" to the computer screen, and "Hello" is the Chinese meaning "hello". This routine is widely used in the "the C Programme Language" co-authored by Brian Kernighan and Dennis M. Ritchie. Because it's concise, practical, and contains everything that a program should have, it provides a paradigm for the authors of later programming books, and continues to this time.           Today's Hello World program, written in 9 computer languages, you can click on the line of code "practice practicing" to try, you can run online, and can try to modify the output of the text. Why in 9 languages, since it is a simple program such as Hello World, we will use several languages to write, let you experience. Later in the formal teaching, we will be a special topic teaching, and not all of a sudden use of many languages, today even if these languages run out, collectively and everyone say hello!     JavaScript:   Practice practicing     code as follows: document.write ("Hello, world!");       Console.log ("Hello, world!");   Specific reference to this article http://www.jb51.net/article/30469.htm   PHP:   Practice practicing   code as follows:  echo "Hello, world!";         Java:     Practice practicing     code as follows: public class hello{       Pub Lic static void Main (string[] args) {  System.out.println ("Hello, world!");  }}        OBJECTIVE-C:   Practice practicing     code as follows: #import <Foundation/Foundation.h>  int Main (int argc, char **argv) { nslog (@ "Hello, world!");  return 0; &NBSP}       C:   Practice practicing       code as follows: #include <stdio.h>  int Main (int argc, Cha R **argv) { printf ("Hello, world!");  return 0;  }       HTML:     Practice practicing   &NBS P The code is as follows: <h1>hello, world</h1>     Python:   Practice practicing 1     code as follows: Print ("Hello, world!n");     Ruby:   Practice practicing     code as follows: Puts ("Hello, world!n");     go:    Practice practicing     code as follows: Package main  import "FMT" Func Main () { fmt. Println ("Hello, world!") &nbsp}     Today our study of Hello World is here, interesting! Welcome to a lot of experience, and continue to focus on the network of Gifted public account "EFA program" for you to launch a series of micro-courses.  
Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.