다양한 언어로 된 Hello World 👋

9580 단어 helloworld
파이썬(.py)

print('Hello world!')


바이 랑

hi bhai
 bol bhai "Hello World";
bye bhai


자바스크립트(.js)

console.log('Hello world!');


타이프스크립트(.ts)

console.log('Hello world!');


자바(.java)

class HelloWorld {
  public static void main(String[] args) {
     System.out.println("Hello World");
  }
}


씨 (.c)

#include <stdio.h>
int main()
{
    printf("Hello World");
    return 0;
}


C++(.cpp)

#include <iostream>
using namespace std;
int main()
{
    cout<<"Hello World";
    return 0;
}


PHP(.php)

<?php
    echo 'Hello World';
?>


C#(.cs)

using System;
class HelloWorld {
  static void Main() {
    Console.WriteLine("Hello World");
  }
}


다트(.dart)

void main(){
   print("Hello World");
}


VB(.vb)

Module VBModule
    Sub Main()
        Console.WriteLine("Hello World")
    End Sub
End Module


HTML(.html)

<html>
  <body>
   <h1>Hello World</h1>
  </body>
</html>


루비(.rb)

puts "Hello World"


스칼라(.scala)

object HelloWorld extends App {
println("Hello World")
}


펄(.pl)

print "Hello World";


파스칼(.pas)

program Hello;
begin
  writeln ('Hello World')
end.


아르(.r)

print("Hello World")


포르탄(.f95)

Program Hello
Print *, "Hello World"
End Program Hello


하스켈(.hs)

main = putStrLn "Hello World"


목표 C(.m)

#import <Foundation/Foundation.h>

int main (int argc, const char * argv[])
{
        NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
        NSLog (@"Hello World");
        [pool drain];
        return 0;
}


스위프트(.swift)

print("Hello World")


녹(.rs)

fn main() {
    println!("Hello World");
}


이동(.go)

package main
import "fmt"
func main() {
    fmt.Println("Hello World")
}


배쉬(.bash)

echo "Hello World";


ASP.NET(.aspx)

Response.Write("Hello World");

좋은 웹페이지 즐겨찾기