
hello world是程序设计语言必打,入门小白都会在学习之初来这么一手。
#include<stdio.h>
int main()
{
printf("hello world");
}#include<iostream>
int main()
{
std::cout<<"hello world";
}#include<iostream>
using namespace std;
int main()
{
cout<<"hello world";
}print('hello world')public class studying {
public static void main(String[] args) {
System.out.println("hello world");
}
}package main
import "fmt"
func main() {
fmt.Println("hello,world!")
}