2557. hello World

 

Python

print("Hello World!")

 

C++

방법 1) [iostream]

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

방법 2) [stdio.h]

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

방법 3) [cstdio]

include <cstdio>
 
int main() {
    printf("Hello World!");
    return 0;
}

 

* 참고: https://st-lab.tistory.com/200

+ Recent posts