Files
c3c/resources/examples/hello_world_many.c3
Christoffer Lerno 43dc2d650c Use "String" consistently for "char[]" (#694)
Use "String" consistently for "char[]". Fix win32 return value.
2023-01-07 22:50:33 +01:00

19 lines
402 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import std::io;
fn void main()
{
String[] greetings = {
"Hello, world!",
"¡Hola Mundo!",
"Γειά σου Κόσμε!",
"Привет, мир!",
"こんにちは世界!",
"你好世界!",
"नमस्ते दुनिया!",
"👋🌎!"
};
foreach (greeting : greetings)
{
io::println(greeting);
}
}