hello world 产生由来!

Hello World 中文意思是『你好,世界』。因为《The C Programming Language》中使用它做为第一个演示程序,非常著名,所以后来的程序员在学习编程或进行设备调试时延续了这一习惯。

产生由来
“Hello, world"程序是指在计算机屏幕上输出“Hello,world”这行字符串的计算机程序,“hello, world”的中文意思是“你好,世界。”。这个例程在Brian Kernighan 和Dennis M. Ritchie合著的《The C Programme Language》使用而广泛流行。因为它的简洁,实用,并包含了一个该版本的C程序首次在1974年Brian Kernighan所撰写的《Programming in C: A Tutorial》出现
    
printf("hello, world\n");
实际上将“Hello”和“World”一起使用的程序最早出现于1972年,在贝尔实验室成员Brian Kernighan撰写的内部技术文件《Introduction to the Language B》之中:
    
main(){
    extern a,b,c;
    putchar(a);putchar(b);putchar(c);putchar('!*n');
}
a'hell';
b'o,w';
c'orld';


最初的"hello, world"打印内容有个标准,即全小写,有逗号,逗号后空一格,且无感叹号。不过目前,完全遵循传统标准形式的反而很少出现。!!!

Hello World 中文意思是『你好,世界』。因为《The C Programming Language》中使用它做为第一个演示程序,非常著名,所以后来的程序员在学习编程或进行设备调试时延续了这一习惯。

产生由来
“Hello, world"程序是指在计算机屏幕上输出“Hello,world”这行字符串的计算机程序,“hello, world”的中文意思是“你好,世界。”。这个例程在Brian Kernighan 和Dennis M. Ritchie合著的《The C Programme Language》使用而广泛流行。因为它的简洁,实用,并包含了一个该版本的C程序首次在1974年Brian Kernighan所撰写的《Programming in C: A Tutorial》出现
    
printf("hello, world\n");
实际上将“Hello”和“World”一起使用的程序最早出现于1972年,在贝尔实验室成员Brian Kernighan撰写的内部技术文件《Introduction to the Language B》之中:
    
main(){
    extern a,b,c;
    putchar(a);putchar(b);putchar(c);putchar('!*n');
}
a'hell';
b'o,w';
c'orld';


最初的"hello, world"打印内容有个标准,即全小写,有逗号,逗号后空一格,且无感叹号。不过目前,完全遵循传统标准形式的反而很少出现。!!!

猜你喜欢

转载自www.cnblogs.com/novasoul/p/12036252.html
今日推荐