Login
|
Signup
langref.org
-
fantom
and
cpp
add..
all
clojure
csharp
erlang
fsharp
go
groovy
haskell
java
ocaml
perl
php
python
ruby
scala
Home
All
Solved
Unsolved
Strings
Numbers
Regex
Lists
Maps
Structure
Files
Dates
OOP
Networking
XML
Algorithms
Misc
Parallel
View Problem
Strings
Printing
Output a string to the console
Write the string
"Hello World!"
to STDOUT
fantom
echo("Hello World!")
class SolutionXX
{
Void main()
{
echo("Hello World!")
}
}
cpp
std::cout << "Hello World" << std::endl;
include <iostream>
int main()
{
std::cout << "Hello World" << std::endl;
}
cpp
std::printf("Hello World\n");
include <cstdio>
int main()
{
std::printf("Hello World\n");
}
cpp
C++/CLI .NET 2.0
Console::WriteLine(L"Hello World");
using namespace System;
int main()
{
Console::WriteLine(L"Hello World");
}
Submit a new solution for
fantom
or
cpp
There are 21 other solutions in
additional
languages (
clojure
,
csharp
,
erlang
,
fsharp
...)