|
发表于 2016-1-30 09:59:26
|
显示全部楼层
C
- #include<stdio.h>
- int main(int argc,char* argv[]){
- printf("hello, world\n");
- return 0;
- }
复制代码
C++
- #include <iostream>
- using namespace std;
- int main(int argc,char* argv[]){
- cout << "hello, world" << endl;
- return 0;
- }
复制代码
C#
- using System;
- public class HelloWorld{
- public static void Main(string[] args){
- Console.WriteLine("Hello, World!");
- }
- }
复制代码
java
- public class HelloWorld{
- public static void main(String[]args){
- System.out.println("Hello, World!");
- }
- }
复制代码
PASCAL
- Program Helloworld;
- Begin
- Writeln('hello, world');
- end.
复制代码
Python
PHP
- <?php
- echo"hello, world";
- ?>
复制代码
HTML
- <!DOCTYPE html>
- <html>
- </head>
- <body>
- hello, world
- </body>
- </html>
复制代码
ASP
Swift
|
评分
-
查看全部评分
|