Hello World大全
C++
#include<iostream>intmain(void){std::cout<<"Helloworld";}
C
#include<stdio.h>intmain(void){printf("\nhelloworld!");return0;}
publicclassHelloWorld{//程序的入口publicstaticvoidmain(Stringargs[]){//向控制台输出信息System.out.println("HelloWorld!");}}
PHP
<?phpecho"helloworld!";?>
ruby
puts"Helloworld."
Go
packagemainimport"fmt"funcmain(){fmt.Printf("HelloWorld!\nGodBlessYou!");}
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。