Hello world
Artikel ini perlu dikembangkan dari artikel terkait di Wikipedia bahasa Inggris. (Februari 2025)
klik [tampil] untuk melihat petunjuk sebelum menerjemahkan.
|

Hello world (Halo dunia) umumnya adalah program komputer yang mengeluarkan atau menampilkan pesan "Hello, World!". Program semacam itu sangat sederhana di sebagian besar bahasa pemrograman, dan sering digunakan untuk menggambarkan sintaks dasar bahasa pemrograman. Ini sering kali merupakan program pertama yang ditulis oleh orang-orang yang belajar kode.[1][2] Ini juga dapat digunakan sebagai tes kewarasan untuk memastikan bahwa bahasa komputer diinstal dengan benar, dan bahwa operator memahami cara menggunakannya.
Hello world dalam beberapa bahasa pemrograman
10 PRINT "Hello world"
@echo off echo Hello world
#include <stdio.h>
int main()
{
printf("Hello world\n");
return 0;
}
#include <iostream>
int main()
{
std::cout << "Hello world";
return 0;
}
class HaloDunia
{
static void main( )
{
System.Console.WriteLine("Halo Dunia");
}
}
program HaloDunia;
{$APPTYPE CONSOLE}
uses
SysUtils;
begin
writeln('Halo Dunia');
end.
?"Hello world"
public class HaloDunia {
public static void main(String args[]) {
System.out.println("Halo Dunia\n");
}
console.log("Hello World");
(print "Hello world")
program helloworld;
begin {
writeln('halo dunia');
}
end.
print "Hello world\n";
<?php
echo "Hello world";
?>
create or replace procedure HelloWorld is
begin
dbms_out.put_line('HALO DUNIA');
end;
write('Hello world'),nl.
print("Hello World")
I 'Hello world' C HELLO
C DSPLY HELLO
$ include "seed7_05.s7i";
const proc: main is func
begin
writeln("Hello world");
end func;
create proc HelloWorld as
begin
print 'HALO DUNIA'
end
print("Hello World")
Hello world dalam beberapa bahasa shell
printf "Hello world"
echo 'Hello world'
Hello world dalam beberapa bahasa mark up
<pre>
<html>
<head>
<title>
Halo Dunia
</title>
</head>
<body>
Hello world
</body>
</html>
</pre>
\documentclass{article}
\begin{document}
Hello world
\end{document}
(princ "Hello world\n")
(prin1)
<?xml version="1.0"?>
<text>Hello world</text>
Referensi
- ^ Langbridge, James A. (2013-12-03). Professional Embedded ARM Development (dalam bahasa Inggris). John Wiley & Sons. ISBN 978-1-118-88782-0.
- ^ sinobitorg/hardware, 2020-07-10, diakses tanggal 2020-08-19
Pranala luar
- Hello world! dalam 141 bahasa program
- "Hello world/Text". Rosetta Code.
- "Unsung Heroes of IT / Part One: Brian Kernighan". TheUnsungHeroesOfIT.com. Diarsipkan dari versi asli tanggal 2016-03-26. Diakses tanggal 23-08-2014.
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.