#include <stdio.h>
int main(int argc, char *argv[])
{
printf("%d -> Hello World\n", 0x0000);
return 0;
}
#include <iostream>
int main(int argc, char *argv[])
{
std::cout << 0x0000 << " -> Hello World" << std::endl;
return 0;
}
package main
import "fmt"
func main() {
fmt.Printf("%d -> Hello World\n", 0x0000);
}
public class HelloWorld {
public static void main(String[] args) {
System.out.println(0x0000 + " -> Hello World");
}
}
(begin
(display (string-append (number->string #x0000) " -> Hello World" ))
(newline)
)
print(0x0000, " -> Hello World", sep='', end='\n')
putStrLn $ show(0x0000) ++ " -> Hello World"
- JavaScript HelloWorld 模板
console.log(0x0000 + " -> Hello World");