Print a literal string on standard output
#include <iostream>
std::cout << "Hello World" << std::endl;
with Ada.Text_IO; use Ada.Text_IO;
Put_Line ("Hello World!");
#include <stdio.h>
printf("Hello World\n");
print_endline "Hello World!"
(println "Hello World")
DISPLAY "Hello World!".
using System;
Console.WriteLine("Hello, World!");
pragma(msg, "Hello World");
import std.stdio;
writeln("Hello world!");
print("Hello World");
IO.puts "Hello World"
"Hello World" |> IO.puts
io:format("~s~n", ["Hello, world!"])
print *, 'Hello, world!'
import "fmt"
fmt.Println("Hello World")
println 'Hello World'
putStrLn "Hello world!"
document.write("Hello World!");
console.log('Hello World');
console.log('Hello World')
System.out.println("Hello World");
import static java.lang.System.out;
out.print("Hello, World!");
println("Hello world!")
(print "Hello World")
(format T "Hello World")
(princ "Hello, world!")
print("Hello World")
io.write("Hello world")
#import <stdio.h>
NSLog(@"Hello world\n");
echo "Hello World" . PHP_EOL;
<?php echo 'Hello World'; ?>
<?='Hello World'?>
WriteLn('Hello, world!');
use 5.010;
say 'Hello World';
print "Hello, world!\n";
write('Hello, world!\n')
format("Hello world~n")
print('Hello World')
puts 'Hello World'
println!("Hello World");
println("Hello, World!")
(display "Hello World")
Transcript cr; show: 'Hello World!'
System.Console.WriteLine("Hello World!")
No security, no password. Other people might choose the same nickname.