Heim > Fragen und Antworten > Hauptteil
高洛峰2017-04-10 13:13:32
Fortran:
-------------------------------------------------
program main write (unit = *, fmt = * ) "hello, world!" stop end program main
=================================================
传中的BrainFuck:
-------------------------------------------------
++++++++++[> +++++++> ++++++++++> +++ < < <-]> ++.> +.+++++++ ..+++.> ++. < <+++++++++++++++.> .+++.------.--------.> +.
黄舟2017-04-10 13:13:32
我来个java的
public class HelloWord { public static void main(String[] args) { System.out.println("hello world"); } }
怪我咯2017-04-10 13:13:32
我来个haskell版本的
module Main where main :: IO () main = putStrLn "Hello, World!"
天蓬老师2017-04-10 13:13:32
各位大神都不写C的啊。。那我献丑了-。-
#include <stdio.h> int main() { printf("Hello, world!"); return 0; }