C:
#include <stdio.h>
int main(void)
{
printf("hello
world!\n");
return
0;
}
CPP:
#include <iostream>
int main (int argc, char * argv[])
{
std::cout<<"helloworld"<<std::endl;
return
0;
}
python:
import sys
if __name__ == "__main__":
print
'hello world'
sys.exit(0)
java:
class hello
{
public
static void main(String[] args)
{
System.out.println("hello
world");
System.exit(0);
}
}
csharp(感觉真的不sharp...):
using System;
public class hello
{
static
void Main()
{
Console.WriteLine("hello
world\n");
}
}
html(这个不知道算不算...):
hello world!
lisp:
(princ "hello world!")
perl:
#!/usr/bin/env perl
print "hello world!\n"
#include <stdio.h>
int main(void)
{
}
CPP:
#include <iostream>
int main (int argc, char * argv[])
{
}
python:
import sys
if __name__ == "__main__":
java:
class hello
{
}
csharp(感觉真的不sharp...):
using System;
public class hello
{
}
html(这个不知道算不算...):
hello world!
lisp:
(princ "hello world!")
perl:
#!/usr/bin/env perl
print "hello world!\n"