标签:include
C++
#include <iostream> int main(void) { std::cout<<"Hello world"; }
C
#include <stdio.h> int main(void) { printf("\nhello world!"); return 0; }
public class HelloWorld{ // 程序的入口 public static void main(String args[]){ // 向控制台输出信息 System.out.println("Hello World!"); } }
PHP
<?php echo "hello world!"; ?>
ruby
puts "Hello world."
Go
package main import "fmt" func main(){ fmt.Printf("Hello World!\n God Bless You!"); }
标签:include
原文地址:http://madsstudy.blog.51cto.com/6249249/1771215